zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: mc@prismtech.co.uk (Matt Chidambaram)
Cc: zsh-workers@math.gatech.edu
Subject: Re: problems with $WATCH / $WATCHFMT
Date: Mon, 4 Dec 1995 17:53:50 +0100 (MET)	[thread overview]
Message-ID: <199512041653.RAA02096@bolyai.cs.elte.hu> (raw)
In-Reply-To: <Pine.OSF.3.91.951204143311.561C-100000@alpha3.prismtech.co.uk> from "Matt Chidambaram" at Dec 4, 95 03:01:00 pm

> the second problem is the one about installing zsh on dec alpha running 
> osf/1 v3.x ....
> 
> after reading the FAQ and doing as it says about copying ypclnt.h and 
> altering the yp_all() signature's third parameter; i still get errors 
> concerning the zle_tricky.c call to yp_all();
> 
> i eventually altered the call from within zle_tricky.c ....
> from:
>     yp_all(domain, PASSWD_MAP, &cb);
> to:
>     yp_all(domain, PASSWD_MAP, cb);
> 
> it compiles and runs ok now. i havent tested it fully.
> ( - but it hasnt crashed as yet...)
> 
> is the change i made valid/correct?

No it isn't.  The FAQ says that you should not change zle_tricky.c.  If it
compiles after your change it means that you did not change the header file.
The correct prototype for yp_all is

extern int yp_all(char *, char *, struct ypall_callback *);

That's what the faq says.  zle_tricky.c is correct.  Fix
/usr/inclide/rpcsvc/ypclnt.h.  If you do not have root privileges ask your
sysadmin to do it.  Or you may create an rpcsvc subdirectory in the zsh
directory and place the fixed ypclnt.h there (I did not try it but it should
work).

I think that should be mentioned in the FAQ.

Cheers,

Zoltan


  reply	other threads:[~1995-12-04 17:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9505180204.AA00391@redwood.skiles.gatech.edu>
1995-05-18 16:30 ` new zsh mailing list up and running Mark Borges
1995-05-18 21:52   ` Richard Coleman
1995-05-19  5:44     ` procmail recipes Geoff Wing
1995-05-20 16:49       ` Deliver script (was Re: procmail) Chip Salzenberg
1995-12-04 15:01       ` problems with $WATCH / $WATCHFMT Matt Chidambaram
1995-12-04 16:53         ` Zoltan Hidvegi [this message]
1995-12-04 17:12         ` Peter Stephenson
1995-05-19  7:07     ` new zsh mailing list up and running Samuel Tardieu
1995-05-19  9:51     ` Martin Hamilton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199512041653.RAA02096@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=mc@prismtech.co.uk \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).