Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
HP-UX compile problem: zsh beta 9
- X-seq: zsh-workers 113
- From: leitner@xxxxxxxxxxxxxxxx (Felix von Leitner)
- To: zsh-list@xxxxxxxxxxxx (Z-Shell Liste)
- Subject: HP-UX compile problem: zsh beta 9
- Date: Mon, 26 Jun 1995 13:19:07 +0200 (MET DST)
Hi Zsh-hackers !
When trying to compile zsh beta 9 on HP-UX 9.05, I found that
/usr/include/sys/unistd.h (which is included by /usr/include/unistd.h)
defines
extern char *logname(void)
while Src/globals.h defines
extern char *logname;
So we have a problem here ;)
% grep "\<logname\>" *.[ch]
globals.h:EXTERN char *logname; /* $LOGNAME */
init.c: if (!(logname = getlogin())) {
init.c: logname = ztrdup(pswd->pw_name);
init.c: logname = ztrdup("");
init.c: username = ztrdup(logname);
params.c: IPDEF6("LOGNAME", &logname),
params.c: pm->env = addenv("LOGNAME", logname);
%
If we change all these occurances from "logname" to "Logname" or so,
everything works fine. Well, it seems to work fine ;)
Mhh, let's put it this way: The problems do not seem to be related to
"logname" ;))
No, seriously, never had any serious problems with zsh.
Felix
--
(------------------------------------------------------------------)
Good programmers write good code; great programmers 'borrow' good code.
"Who is General Failure and why is he reading my hard disk ?"
PGP public key available (mail me with the subject "send key")
PGP public key fingerprint 05 B9 C9 43 3C 96 C5 1E FD E4 EF 45 E1 A0 09 4D
Messages sorted by:
Reverse Date,
Date,
Thread,
Author