rpms/coreutils/devel coreutils-5.92-alt-md5sum-binary.patch, NONE, 1.1 coreutils.spec, 1.85, 1.86

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Oct 28 08:11:24 UTC 2005


Author: twaugh

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

Modified Files:
	coreutils.spec 
Added Files:
	coreutils-5.92-alt-md5sum-binary.patch 
Log Message:
* Fri Oct 28 2005 Tim Waugh <twaugh at redhat.com>
- Include md5sum patch from ALT.


coreutils-5.92-alt-md5sum-binary.patch:
 md5sum.c |    3 +++
 1 files changed, 3 insertions(+)

--- NEW FILE coreutils-5.92-alt-md5sum-binary.patch ---
2005-10-26  Dmitry V. Levin  <ldv at altlinux.org>

	* src/md5sum.c (main) [!O_BINARY]: Changed default read mode
	back to text, to sync with documentation and for backwards
	compatibility.

--- coreutils-5.92/src/md5sum.c.orig	2005-08-14 15:13:28 +0000
+++ coreutils-5.92/src/md5sum.c	2005-10-26 13:09:51 +0000
@@ -612,6 +612,9 @@ main (int argc, char **argv)
       usage (EXIT_FAILURE);
     }
 
+  if (!O_BINARY && binary < 0)
+    binary = 0;
+
   if (optind == argc)
     argv[argc++] = "-";
 


Index: coreutils.spec
===================================================================
RCS file: /cvs/dist/rpms/coreutils/devel/coreutils.spec,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- coreutils.spec	27 Oct 2005 15:05:08 -0000	1.85
+++ coreutils.spec	28 Oct 2005 08:11:18 -0000	1.86
@@ -20,6 +20,7 @@
 Patch2: coreutils-dircolors.patch
 Patch3: coreutils-mkdir2.patch
 Patch4: coreutils-tac.patch
+Patch5: coreutils-5.92-alt-md5sum-binary.patch
 
 # fileutils
 Patch107: fileutils-4.1.10-timestyle.patch
@@ -75,6 +76,7 @@
 %patch2 -p0 -b .dircolors
 %patch3 -p0 -b .mkdir2
 %patch4 -p0 -b .tac
+%patch5 -p1 -b .alt-md5sum-binary
 
 # fileutils
 %patch107 -p1 -b .timestyle
@@ -260,6 +262,9 @@
 /sbin/runuser
 
 %changelog
+* Fri Oct 28 2005 Tim Waugh <twaugh at redhat.com>
+- Include md5sum patch from ALT.
+
 * Mon Oct 24 2005 Tim Waugh <twaugh at redhat.com> 5.92-0.1
 - 5.92.
 - No longer need afs, dircolors, utmp, gcc4, brokentest, dateseconds,




More information about the fedora-cvs-commits mailing list