* lib/commonio.c: Fix NIS commit from 2011-07-14.

This commit is contained in:
nekral-guest 2011-07-28 15:19:40 +00:00
parent e7c09ab3df
commit 6223c40c2d
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2011-07-28 Nicolas François <nicolas.francois@centraliens.net>
* lib/commonio.c: Fix NIS commit from 2011-07-14.
2011-07-28 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, src/chpasswd.c: Create a shadow entry if the password is

View File

@ -2,7 +2,7 @@
* Copyright (c) 1990 - 1994, Julianne Frances Haugh
* Copyright (c) 1996 - 2001, Marek Michałkiewicz
* Copyright (c) 2001 - 2006, Tomasz Kłoczko
* Copyright (c) 2007 - 2010, Nicolas François
* Copyright (c) 2007 - 2011, Nicolas François
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -773,7 +773,7 @@ commonio_sort (struct commonio_db *db, int (*cmp) (const void *, const void *))
#if KEEP_NIS_AT_END
&& (NULL != ptr->line)
&& ( ('+' != ptr->line[0])
|| ('-' != ptr->line[0]))
&& ('-' != ptr->line[0]))
#endif
;
ptr = ptr->next) {