Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problems with $WATCH / $WATCHFMT
- X-seq: zsh-workers 669
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: mc@xxxxxxxxxxxxxxx (Matt Chidambaram)
- Subject: Re: problems with $WATCH / $WATCHFMT
- Date: Mon, 4 Dec 1995 17:53:50 +0100 (MET)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <Pine.OSF.3.91.951204143311.561C-100000@xxxxxxxxxxxxxxxxxxxxxx> from "Matt Chidambaram" at Dec 4, 95 03:01:00 pm
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author