Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Latest patched development version
- X-seq: zsh-workers 4801
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: Latest patched development version
- Date: Tue, 15 Dec 1998 14:05:04 +0100
- In-reply-to: "Sven Wischnowsky"'s message of "Tue, 15 Dec 1998 12:59:40 NFT." <199812151159.MAA10986@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sven Wischnowsky wrote:
> While fighting with this I also got an error in utils.c. In the
> function get_username() after the `#else' the variable current_uid is
> used but not defined.
The following is the only re-interpretation which makes sense to me.
*** Src/utils.c.uid Tue Dec 15 09:59:21 1998
--- Src/utils.c Tue Dec 15 13:35:46 1998
***************
*** 427,433 ****
cached_username = ztrdup("");
}
#else /* !HAVE_GETPWUID */
! cached_uid = current_uid;
#endif /* !HAVE_GETPWUID */
return cached_username;
}
--- 427,433 ----
cached_username = ztrdup("");
}
#else /* !HAVE_GETPWUID */
! cached_uid = getuid();
#endif /* !HAVE_GETPWUID */
return cached_username;
}
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author