Ticket #12441: macports-xinstallmode.patch
File macports-xinstallmode.patch, 472 bytes (added by afb@…, 17 years ago) |
---|
-
src/pextlib1.0/xinstall.c
910 910 saved_errno = errno; 911 911 } 912 912 913 newfd = open(path, O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR ,mode);913 newfd = open(path, O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR | mode); 914 914 if (newfd < 0 && saved_errno != 0) 915 915 errno = saved_errno; 916 916 return newfd;