freebsd-ports/archivers/arj/files/patch-environ.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

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);