This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hello, On Mon, Jun 28, David S. Miller wrote: > Date: Mon, 28 Jun 1999 09:09:59 +0200 > From: Thorsten Kukuk <kukuk@suse.de> > > So you have an glibc 2 only source program which is not portable. > It's time to fix this source code. > > So the X Window System is not portable and it should be made broken by > this GLIBC change? If I read the docu for other Unix versions like Solaris 7 correct, yes, it is broken. I haven't looked at the X Sources, it could be that this header file will only be used with Linux/glibc and not on other Unix. But from Solaris7 (man getpwnam): The POSIX functions getpwnam_r() and getpwuid_r() return 0 upon success, or the error number in case of failure. And I have tested it: getpwnam_r gives back the positive errno code. The only difference to glibc is that Solaris doesn't set errno. Thorsten -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SuSE GmbH Schanzaeckerstr. 10 90443 Nuernberg Linux is like a Vorlon. It is incredibly powerful, gives terse, cryptic answers and has a lot of things going on in the background.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |