rpms/tar/devel tar-1.15.1-optionsOrder.patch, NONE, 1.1 tar.spec, 1.34, 1.35

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Apr 24 13:37:47 UTC 2006


Author: pvrabec

Update of /cvs/dist/rpms/tar/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv12049

Modified Files:
	tar.spec 
Added Files:
	tar-1.15.1-optionsOrder.patch 
Log Message:
- fix problem when options at the end of command line were
  not recognized (#188707)


tar-1.15.1-optionsOrder.patch:
 tar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE tar-1.15.1-optionsOrder.patch ---
--- tar-1.15.1/src/tar.c.optionsOrder	2006-04-24 15:25:55.000000000 +0200
+++ tar-1.15.1/src/tar.c	2006-04-24 15:27:01.000000000 +0200
@@ -617,9 +617,9 @@
   
   switch (key)
     {
-      case 1:
+      case ARGP_KEY_ARG:
 	/* File name or non-parsed option, because of ARGP_IN_ORDER */
-	name_add (optarg);
+	name_add (arg);
 	args->input_files++;
 	break;
 


Index: tar.spec
===================================================================
RCS file: /cvs/dist/rpms/tar/devel/tar.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- tar.spec	13 Apr 2006 13:45:34 -0000	1.34
+++ tar.spec	24 Apr 2006 13:37:44 -0000	1.35
@@ -1,7 +1,7 @@
 Summary: A GNU file archiving program.
 Name: tar
 Version: 1.15.1
-Release: 15
+Release: 16
 License: GPL
 Group: Applications/Archiving
 URL: http://www.gnu.org/software/tar/
@@ -19,6 +19,7 @@
 Patch15: tar-1.15.1-vfatTruncate.patch
 Patch16: tar-1.15.1-heapOverflow.patch
 Patch17: tar-1.15.1-hugeSparse.patch
+Patch18: tar-1.15.1-optionsOrder.patch
 
 Prereq: info
 BuildRequires: autoconf automake gzip
@@ -49,6 +50,7 @@
 %patch15 -p1 -b .vfatTruncate
 %patch16 -p0 -b .heapOverflow
 %patch17 -p1 -b .hugeSparse
+%patch18 -p1 -b .optionsOrder
 
 %build
 
@@ -119,6 +121,10 @@
 %{_infodir}/tar.info*
 
 %changelog
+* Mon Apr 24 2006 Peter Vrabec <pvrabec at redhat.com> 1.15.1-16
+- fix problem when options at the end of command line were 
+  not recognized (#188707)
+
 * Thu Apr 13 2006 Peter Vrabec <pvrabec at redhat.com> 1.15.1-15
 - fix segmentation faul introduced with hugeSparse.patch
 




More information about the fedora-cvs-commits mailing list