https://bugzilla.novell.com/show_bug.cgi?id=476026
User pth@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=476026#c2
Philipp Thomas changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|pth@novell.com |pbaudis@novell.com
Summary|POSIX function getlogin() |POSIX function getlogin()
|returns null |returns null for an
| |existing user
--- Comment #2 from Philipp Thomas 2009-02-16 04:37:23 MST ---
The POSIX standard says:
Upon successful completion, getlogin ( ) shall return a pointer to the login
name or a null pointer if the user’s login name cannot be found. Otherwise, it
shall return a null pointer and set errno to
indicate the error.
So the result of the getlogin call is correct. The question is, why getlogin
can't find your login name. What is the output of calling id?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.