]> git.ipfire.org Git - thirdparty/shadow.git/commit
* libmisc/utmp.c: Avoid implicit conversion of pointers / chars to
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 17 Jun 2008 21:13:30 +0000 (21:13 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 17 Jun 2008 21:13:30 +0000 (21:13 +0000)
commit5f9226b14b85a975256978a94f5e4de93b8cfe48
tree12ebe0da5a5641d3075a21bdd04130c5d6224b88
parent93200750303ff332519ff3dfcf7be1b2a0c47557
* libmisc/utmp.c: Avoid implicit conversion of pointers / chars to
booleans.
* libmisc/utmp.c: Add brackets and parenthesis.
* libmisc/utmp.c: Exit with the EXIT_FAILURE status code in case
of failure.
* libmisc/utmp.c: Avoid assignments in comparisons.
* lib/prototypes.h, libmisc/utmp.c: Change setutmp()'s prototype
to return an int because pututline() and pututxline() may fail.
ChangeLog
lib/prototypes.h
libmisc/utmp.c