about summary refs log tree commit diff
path: root/login/endutent.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-06 03:57:56 +0000
committerMiles Bader <miles@gnu.org>1996-07-06 03:57:56 +0000
commit2549e7587d7583704a338533cdc3892eece55ab0 (patch)
tree174cfa230c0becd7dcaa91ff7f372f64533e7432 /login/endutent.c
parent36abf0d831de627092222bda744ef9887ada1cb3 (diff)
downloadglibc-2549e7587d7583704a338533cdc3892eece55ab0.tar.gz
glibc-2549e7587d7583704a338533cdc3892eece55ab0.tar.xz
glibc-2549e7587d7583704a338533cdc3892eece55ab0.zip
Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu> cvs/libc-960706
	* login/logout.c (logout): Do nothing if getutline_r returns ESRCH.

	* login/pututline_r.c (pututline_r): Since we assign RESULT from
	lseek now, check that it's >= 0, not == 0.

Wed Jul  3 13:28:04 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	* login/login.c (login): Make a copy of *UT, fill in various
	fields that we supply (ut_line, ut_type, ut_pid), and use the copy
	in place of UT.

	* login/getutline_r.c (getutline_r): When we return ESRCH, mark
	UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
Diffstat (limited to 'login/endutent.c')
0 files changed, 0 insertions, 0 deletions