]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - pw/edgroup.c
Don't assume a_name is a number just because the first character
[pw-darwin.git] / pw / edgroup.c
index c927b06cc30a383b34d7fa22fca4aa55e3a89d21..6116fa6854ac4e4269225d0f215dabbc6d75a526 100644 (file)
@@ -26,7 +26,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id$";
+       "$Id: edgroup.c,v 1.5 1997/10/10 06:23:30 charnier Exp $";
 #endif /* not lint */
 
 #include <stdio.h>
@@ -64,7 +64,7 @@ editgroups(char *name, char **groups)
        int             rc = 0;
        int             infd;
 
-       if ((infd = open(groupfile, O_RDWR | O_CREAT | O_EXLOCK, 0644)) != -1) {
+       if ((infd = open(groupfile, O_RDWR | O_CREAT, 0644)) != -1) {
                FILE           *infp;
 
                if ((infp = fdopen(infd, "r+")) == NULL)