parent
adeb645d17
commit
600ed0890d
@ -1,11 +1,12 @@
|
|||||||
--- fish-1.22.3/common.c.openfix 2007-08-16 10:56:06.000000000 +0200
|
diff -up fish-1.22.3/common.c.openfix fish-1.22.3/common.c
|
||||||
+++ fish-1.22.3/common.c 2007-08-16 10:55:55.000000000 +0200
|
--- 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
|
@@ -1483,7 +1483,7 @@ int acquire_lock_file( const char *lockf
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
(void)unlink( linkfile );
|
(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 ) ) == -1 )
|
+ if( ( fd = (open)( linkfile, O_CREAT|O_RDONLY, 644 ) ) == -1 )
|
||||||
{
|
{
|
||||||
debug( 1, L"acquire_lock_file: open: %s", strerror( errno ) );
|
debug( 1, L"acquire_lock_file: open: %s", strerror( errno ) );
|
||||||
goto done;
|
goto done;
|
||||||
|
Loading…
Reference in new issue