rpms/fish/F-8 fish-1.22.3-openfix.patch, 1.1, 1.2 fish.spec, 1.19, 1.20

Oliver Falk (oliver) fedora-extras-commits at redhat.com
Wed Oct 31 08:36:11 UTC 2007


Author: oliver

Update of /cvs/extras/rpms/fish/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18565

Modified Files:
	fish-1.22.3-openfix.patch fish.spec 
Log Message:

* Wed Oct 31 2007 Oliver Falk <oliver at linux-kernel.at>        - 1.22.3-5
- Fix glibc's open check, by providing mode, instead of working
  around...


fish-1.22.3-openfix.patch:

Index: fish-1.22.3-openfix.patch
===================================================================
RCS file: /cvs/extras/rpms/fish/F-8/fish-1.22.3-openfix.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fish-1.22.3-openfix.patch	16 Aug 2007 09:07:01 -0000	1.1
+++ fish-1.22.3-openfix.patch	31 Oct 2007 08:36:02 -0000	1.2
@@ -1,11 +1,12 @@
---- fish-1.22.3/common.c.openfix	2007-08-16 10:56:06.000000000 +0200
-+++ fish-1.22.3/common.c	2007-08-16 10:55:55.000000000 +0200
+diff -up fish-1.22.3/common.c.openfix fish-1.22.3/common.c
+--- fish-1.22.3/common.c.openfix	2007-02-08 18:38:57.000000000 +0100
++++ fish-1.22.3/common.c	2007-10-31 09:33:46.000000000 +0100
 @@ -1483,7 +1483,7 @@ int acquire_lock_file( const char *lockf
  		goto done;
  	}
  	(void)unlink( linkfile );
 -	if( ( fd = open( linkfile, O_CREAT|O_RDONLY ) ) == -1 )
-+	if( ( fd = (open)( linkfile, O_CREAT|O_RDONLY ) ) == -1 )
++	if( ( fd = (open)( linkfile, O_CREAT|O_RDONLY, 644 ) ) == -1 )
  	{
  		debug( 1, L"acquire_lock_file: open: %s", strerror( errno ) );
  		goto done;


Index: fish.spec
===================================================================
RCS file: /cvs/extras/rpms/fish/F-8/fish.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- fish.spec	31 Oct 2007 07:52:13 -0000	1.19
+++ fish.spec	31 Oct 2007 08:36:02 -0000	1.20
@@ -2,7 +2,7 @@
 Name:                   fish
 
 Version:                1.22.3
-Release:                4%{?dist}
+Release:                5%{?dist}
 
 License:                GPL
 Group:                  System Environment/Shells
@@ -151,6 +151,10 @@
 
 
 %changelog
+* Wed Oct 31 2007 Oliver Falk <oliver at linux-kernel.at>	- 1.22.3-5
+- Fix glibc's open check, by providing mode, instead of working
+  around...
+
 * Wed Oct 31 2007 Oliver Falk <oliver at linux-kernel.at>	- 1.22.3-4
 - Update URL; Fixes bz#359451
 




More information about the fedora-extras-commits mailing list