* NEWS, lib/commonio.h, lib/commonio.c: Additional messages to

indicate why locking failed.
	* NEWS, lib/commonio.c: Fix the sort algorithm in case of NIS. NIS
	entries were dropped.
	* lib/commonio.c: NIS entries can start by '+' or '-'.
This commit is contained in:
nekral-guest
2011-07-14 13:58:17 +00:00
parent a7fee9db00
commit 39cecdab06
4 changed files with 86 additions and 10 deletions

View File

@ -141,7 +141,7 @@ struct commonio_db {
extern int commonio_setname (struct commonio_db *, const char *);
extern bool commonio_present (const struct commonio_db *db);
extern int commonio_lock (struct commonio_db *);
extern int commonio_lock_nowait (struct commonio_db *);
extern int commonio_lock_nowait (struct commonio_db *, bool log);
extern int commonio_open (struct commonio_db *, int);
extern /*@observer@*/ /*@null@*/const void *commonio_locate (struct commonio_db *, const char *);
extern int commonio_update (struct commonio_db *, const void *);