[105628] trunk/base/src/darwintracelib1.0/darwintrace.c
cal at macports.org
cal at macports.org
Sun Apr 28 04:41:42 PDT 2013
Revision: 105628
https://trac.macports.org/changeset/105628
Author: cal at macports.org
Date: 2013-04-28 04:41:42 -0700 (Sun, 28 Apr 2013)
Log Message:
-----------
darwintrace: return -1 from __getdirentries64 on error
Modified Paths:
--------------
trunk/base/src/darwintracelib1.0/darwintrace.c
Modified: trunk/base/src/darwintracelib1.0/darwintrace.c
===================================================================
--- trunk/base/src/darwintracelib1.0/darwintrace.c 2013-04-28 11:31:34 UTC (rev 105627)
+++ trunk/base/src/darwintracelib1.0/darwintrace.c 2013-04-28 11:41:42 UTC (rev 105628)
@@ -1114,7 +1114,7 @@
if (-1 == fcntl(fd, F_GETPATH, dirname)) {
errno = EBADF;
- return 0;
+ return -1;
}
dnamelen = strlen(dirname);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130428/495731b2/attachment.html>
More information about the macports-changes
mailing list