]> granicus.if.org Git - shadow/commit
* lib/sgroupio.c: Avoid assignments in comparisons.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 26 May 2008 08:46:41 +0000 (08:46 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 26 May 2008 08:46:41 +0000 (08:46 +0000)
commitcaed1add3ad6cef3e9f0452a3ff44b7fe2961cd5
treea41d470143d99f49dd356ab07fe4c61251ab69c9
parent77020623ed71040b07114fd623adb47472aee46e
* lib/sgroupio.c: Avoid assignments in comparisons.
* lib/sgroupio.c: Add brackets.
* lib/sgroupio.c: Avoid implicit conversion of pointers / integers to booleans.
* lib/sgroupio.c: The changed, isopen, locked, and readonly fields of the db are booleans.
* lib/sgroupio.h, lib/sgroupio.c: sgr_file_present returns a bool.
* lib/sgroupio.h: Add protection against multiple inclusions.
lib/sgroupio.c