[28669] trunk/base/src/pextlib1.0/xinstall.c
source_changes at macosforge.org
source_changes at macosforge.org
Thu Sep 6 06:00:25 PDT 2007
Revision: 28669
http://trac.macosforge.org/projects/macports/changeset/28669
Author: afb at macports.org
Date: 2007-09-06 06:00:25 -0700 (Thu, 06 Sep 2007)
Log Message:
-----------
remove bogus extra parameter to open (#12441)
Modified Paths:
--------------
trunk/base/src/pextlib1.0/xinstall.c
Modified: trunk/base/src/pextlib1.0/xinstall.c
===================================================================
--- trunk/base/src/pextlib1.0/xinstall.c 2007-09-06 12:58:12 UTC (rev 28668)
+++ trunk/base/src/pextlib1.0/xinstall.c 2007-09-06 13:00:25 UTC (rev 28669)
@@ -910,7 +910,7 @@
saved_errno = errno;
}
- newfd = open(path, O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR, mode);
+ newfd = open(path, O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR);
if (newfd < 0 && saved_errno != 0)
errno = saved_errno;
return newfd;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070906/07e0d792/attachment.html
More information about the macports-changes
mailing list