Ticket #12441: macports-xinstallmode.patch

File macports-xinstallmode.patch, 472 bytes (added by afb@…, 17 years ago)

macports-xinstallmode.patch

  • src/pextlib1.0/xinstall.c

     
    910910                                saved_errno = errno;
    911911        }
    912912
    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);
    914914        if (newfd < 0 && saved_errno != 0)
    915915                errno = saved_errno;
    916916        return newfd;