* "bugfix" for zsh 2.6beta13 on alpha OSF/1
@ 1996-03-08 10:36 Petter Reinholdtsen
1996-03-08 11:49 ` Zefram
0 siblings, 1 reply; 2+ messages in thread
From: Petter Reinholdtsen @ 1996-03-08 10:36 UTC (permalink / raw)
To: zsh-workers
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@td.org.uit.no
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "bugfix" for zsh 2.6beta13 on alpha OSF/1
1996-03-08 10:36 "bugfix" for zsh 2.6beta13 on alpha OSF/1 Petter Reinholdtsen
@ 1996-03-08 11:49 ` Zefram
0 siblings, 0 replies; 2+ messages in thread
From: Zefram @ 1996-03-08 11:49 UTC (permalink / raw)
To: Petter Reinholdtsen; +Cc: zsh-workers
>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.
Did you try running this? There's a zsh FAQ entry about this, which
says that the header is wrong. The only solution is to correct the
prototype in the header.
-zefram
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-03-08 12:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-03-08 10:36 "bugfix" for zsh 2.6beta13 on alpha OSF/1 Petter Reinholdtsen
1996-03-08 11:49 ` Zefram
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).