[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pkg-shadow-commits
Subject:    [Pkg-shadow-commits] r2337 - in upstream/trunk: . src
From:       nekral-guest () alioth ! debian ! org
Date:       2008-08-31 17:41:05
Message-ID: E1KZqvB-00086i-NM () alioth ! debian ! org
[Download RAW message or body]

Author: nekral-guest
Date: 2008-08-31 17:41:03 +0000 (Sun, 31 Aug 2008)
New Revision: 2337

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/groupmems.c
Log:
	* src/groupmems.c: Remove duplicated gr_open().


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-08-31 17:31:08 UTC (rev 2336)
+++ upstream/trunk/ChangeLog	2008-08-31 17:41:03 UTC (rev 2337)
@@ -1,3 +1,7 @@
+2008-08-31  Nicolas François  <nicolas.francois@centraliens.net>
+
+	* src/groupmems.c: Remove duplicated gr_open().
+
 2008-08-30  Nicolas François  <nicolas.francois@centraliens.net>
 
 	* man/useradd.8.xml: Document the /etc/default/useradd variables.

Modified: upstream/trunk/src/groupmems.c
===================================================================
--- upstream/trunk/src/groupmems.c	2008-08-31 17:31:08 UTC (rev 2336)
+++ upstream/trunk/src/groupmems.c	2008-08-31 17:41:03 UTC (rev 2337)
@@ -605,11 +605,6 @@
 		gr_locked = true;
 	}
 
-	if (gr_open (list ? O_RDONLY : O_RDWR) == 0) {
-		fprintf (stderr, _("%s: cannot open %s\n"), Prog, gr_dbname ());
-		fail_exit (EXIT_GROUP_FILE);
-	}
-
 	grp = gr_locate (name);
 
 	if (NULL == grp) {



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic