From: pere@kjell.origo.telenor.no (Petter Reinholdtsen)
To: zsh-workers@math.gatech.edu
Subject: "bugfix" for zsh 2.6beta13 on alpha OSF/1
Date: Fri, 8 Mar 1996 11:36:29 +0100 [thread overview]
Message-ID: <199603081036.LAA03396@cola.origo.telenor.no> (raw)
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
next reply other threads:[~1996-03-08 11:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-03-08 10:36 Petter Reinholdtsen [this message]
1996-03-08 11:49 ` Zefram
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=199603081036.LAA03396@cola.origo.telenor.no \
--to=pere@kjell.origo.telenor.no \
--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).