* src/newgrp.c: Added assertion to guide splint (and me).
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/newgrp.c: Added assertion to guide splint (and me).
|
||||
|
||||
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* libmisc/find_new_gid.c: Use booleans instead of char fo
|
||||
|
@@ -38,6 +38,7 @@
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include "defines.h"
|
||||
#include "getdef.h"
|
||||
#include "prototypes.h"
|
||||
@@ -619,6 +620,7 @@ int main (int argc, char **argv)
|
||||
* Re-read the group entry for further processing.
|
||||
*/
|
||||
grp = xgetgrnam (group);
|
||||
assert (NULL != grp);
|
||||
}
|
||||
#ifdef SHADOWGRP
|
||||
sgrp = getsgnam (group);
|
||||
|
Reference in New Issue
Block a user