zsh-workers
 help / color / mirror / code / Atom feed
* HP-UX compile problem: zsh beta 9
@ 1995-06-26 11:19 Felix von Leitner
  1995-06-26 19:10 ` Richard Coleman
  0 siblings, 1 reply; 2+ messages in thread
From: Felix von Leitner @ 1995-06-26 11:19 UTC (permalink / raw)
  To: Z-Shell Liste

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-06-26 19:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-06-26 11:19 HP-UX compile problem: zsh beta 9 Felix von Leitner
1995-06-26 19:10 ` Richard Coleman

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).