9fa9eb9ac7
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
11 lines
449 B
C
11 lines
449 B
C
--- environ.c.orig 2004-06-18 16:19:36 UTC
|
|
+++ environ.c
|
|
@@ -2058,7 +2058,7 @@ FILE *file_open(char *name, char *mode)
|
|
/* ASR fix 01/10/2003 -- re-fix to handle umask 022 correctly */
|
|
if((handle=open(name, oflag, 0644))==-1)
|
|
return(NULL);
|
|
- if(fcntl(handle, F_SETLK, &flk)==-1&&errno!=EINVAL)
|
|
+ if(fcntl(handle, F_SETLK, &flk)==-1&&errno!=EINVAL&&errno!=ENOTSUP)
|
|
{
|
|
close(handle);
|
|
return(NULL);
|