OSDN Git Service

libutil/login: was totally broken. fixed
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 5 Apr 2010 17:27:41 +0000 (19:27 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 5 Apr 2010 17:27:41 +0000 (19:27 +0200)
commitb2f0faf04264c13d7877646330da7f5954380342
tree5250f364c843fdb62bcfbd285df36c176b7c49b2
parent56f80b6cb62323fbaf0fc8620d10fc242e136ee6
libutil/login: was totally broken. fixed

Also made login() and logout() usable with utmpname(non_std_utmp_file)
   text           data     bss     dec     hex filename
    111              0       0     111      6f libutil/login.o
    217              0       0     217      d9 libutil/login.o
   text           data     bss     dec     hex filename
    164              0       0     164      a4 libutil/logout.o
    134              0       0     134      86 libutil/logout.o

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libutil/login.c
libutil/logout.c