Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
"bugfix" for zsh 2.6beta13 on alpha OSF/1
- X-seq: zsh-workers 806
- From: pere@xxxxxxxxxxxxxxxxxxxxxx (Petter Reinholdtsen)
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: "bugfix" for zsh 2.6beta13 on alpha OSF/1
- Date: Fri, 8 Mar 1996 11:36:29 +0100
Here is a small patch to get zsh to compile on Dec Alpha OSF/1 3.2.
It seems that the parameters for yp_all is wrong on OSF/1.
diff -cr src-2.6beta13-local/Src/zle_tricky.c src-2.6beta13-alphaosf3/Src/zle_tricky.c
*** src-2.6beta13-local/Src/zle_tricky.c Thu Dec 21 23:44:48 1995
--- src-2.6beta13-alphaosf3/Src/zle_tricky.c Fri Mar 08 11:19:46 1996
***************
*** 1654,1660 ****
--- 1654,1664 ----
if (getdomainname(domain, YPMAXDOMAIN) == 0) {
cb.foreach = (int ((*)()))match_username;
cb.data = (char *)&data;
+ #ifdef __osf__
+ yp_all(domain, PASSWD_MAP, cb);
+ #else
yp_all(domain, PASSWD_MAP, &cb);
+ #endif
/* for (n = firstnode(matches); n; incnode(n))
if (getpwnam(getdata(n)) == NULL)
uremnode(matches, n);*/
--
##> Petter Reinholdtsen <## | pere@xxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author