------- Comment #11 from pinskia at gcc dot gnu dot org 2007-03-22 15:19 ------- I say GETLOG should have the same behavior as getlogin which is what this behavior is comming from.
Considering the documentation says: On systems where the getlogin(3) function is not implemented, this will return a blank string. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31299