]> granicus.if.org Git - python/commit
posix_getlogin(): Handle the possibility that getlogin() can return
authorFred Drake <fdrake@acm.org>
Wed, 6 Dec 2000 21:24:28 +0000 (21:24 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 6 Dec 2000 21:24:28 +0000 (21:24 +0000)
commita30680b24035c972621c92394cb2b21cabbea6a5
tree7985f89e658fe43689b4fad5ad77108aac24dfb4
parent49312a52ece5819990e870ad75ed8422934fb2cc
posix_getlogin():  Handle the possibility that getlogin() can return
                   NULL without setting errno; observed on Linux
                   Mandrake 7.2 by an anonymous user.

This closes bug #124758.
Modules/posixmodule.c