rpms/coreutils/FC-6 coreutils-rm-race.patch, NONE, 1.1 coreutils.spec, 1.150, 1.151

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Apr 11 11:33:06 UTC 2007


Author: twaugh

Update of /cvs/dist/rpms/coreutils/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv2016

Modified Files:
	coreutils.spec 
Added Files:
	coreutils-rm-race.patch 
Log Message:
* Wed Apr 11 2007 Tim Waugh <twaugh at redhat.com>
- Fixed rm race (bug #235401).
- Resolves: rhbz#235401


coreutils-rm-race.patch:
 remove.c |    2 ++
 1 files changed, 2 insertions(+)

--- NEW FILE coreutils-rm-race.patch ---
--- coreutils-5.97/src/remove.c.rm-race	2007-04-11 12:28:11.000000000 +0100
+++ coreutils-5.97/src/remove.c	2007-04-11 12:29:25.000000000 +0100
@@ -887,6 +887,8 @@
 		 quote (full_filename (".")));
 	  return RM_ERROR;
 	}
+      else
+	return RM_OK;
     }
 
   while (1)


Index: coreutils.spec
===================================================================
RCS file: /cvs/dist/rpms/coreutils/FC-6/coreutils.spec,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -r1.150 -r1.151
--- coreutils.spec	24 Jan 2007 16:37:24 -0000	1.150
+++ coreutils.spec	11 Apr 2007 11:33:03 -0000	1.151
@@ -24,6 +24,7 @@
 Patch2: coreutils-rename.patch
 Patch3: coreutils-cut-coredump.patch
 Patch4: coreutils-223869.patch
+Patch5: coreutils-rm-race.patch
 Patch10: coreutils-newhashes.patch
 
 # Our patches
@@ -86,6 +87,7 @@
 %patch2 -p1 -b .rename
 %patch3 -p1 -b .cut-coredump
 %patch4 -p1 -b .223869
+%patch5 -p1 -b .rm-race
 %patch10 -p1 -b .newhashes
 
 # Our patches
@@ -288,6 +290,9 @@
 /sbin/runuser
 
 %changelog
+* Wed Apr 11 2007 Tim Waugh <twaugh at redhat.com>
+- Fixed rm race (bug #235401).
+
 * Wed Jan 24 2007 Tim Waugh <twaugh at redhat.com>
 - Fixed wrong error message (bug #223869).
 




More information about the fedora-cvs-commits mailing list