]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 264161: Handle the fact that the getlogin_basic() function can return
authormarcel <marcel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 3 Aug 2014 01:51:48 +0000 (01:51 +0000)
committermarcel <marcel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 3 Aug 2014 01:51:48 +0000 (01:51 +0000)
commit1dd851c48a34492e8f1520616d3061e990f6a92b
treea67db3f6b4b72c684b1159ac7ab17618b874fe7b
parent40eade1f845088838932f7e4b2467c7cc57e40f3
MFC 264161: Handle the fact that the getlogin_basic() function can return
a 0 status with a NULL pointer for the login name (result).

Obtained from: Juniper Networks, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269453 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/gen/getlogin.c