]> granicus.if.org Git - shadow/commit
* lib/gshadow.c: Use a bool when possible instead of int integers.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 13 Jun 2008 21:45:47 +0000 (21:45 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 13 Jun 2008 21:45:47 +0000 (21:45 +0000)
commit838f39d0fde332cd80a4bd21b25b290b9119d40c
tree6cded0f6075a1c521518219e5504a296538a8467
parent4589ba350fddd15e72e16b51ace2cdfc9c799690
* lib/gshadow.c: Use a bool when possible instead of int integers.
* lib/gshadow.c: Remove __setsgNIS() -never used).
* lib/gshadow.c: Avoid multi-statements lines.
* lib/gshadow.c: Avoid assignments in comparisons.
* lib/gshadow.c: ptr[nelem] is a string. Initialize it to NULL
instead of '\0'.
* lib/gshadow.c: Add brackets and parenthesis.
* lib/gshadow.c: The size argument of strncpy is a size_t and the
size argument of fgets is an int.
ChangeLog
lib/gshadow.c