--- 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
@@ -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 )
{
debug( 1, L"acquire_lock_file: open: %s", strerror( errno ) );
goto done;