[112611] trunk/base/src/darwintracelib1.0/darwintrace.c

cal at macports.org cal at macports.org
Sun Oct 27 18:02:03 PDT 2013


Revision: 112611
          https://trac.macports.org/changeset/112611
Author:   cal at macports.org
Date:     2013-10-27 18:02:03 -0700 (Sun, 27 Oct 2013)
Log Message:
-----------
darwintrace: fix build errors introduced by r112610

Revision Links:
--------------
    https://trac.macports.org/changeset/112610

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-10-28 00:58:24 UTC (rev 112610)
+++ trunk/base/src/darwintracelib1.0/darwintrace.c	2013-10-28 01:02:03 UTC (rev 112611)
@@ -111,7 +111,7 @@
 #define DARWINTRACE_DEBUG (0)
 #endif
 
-static inline void __darwintrace_log_op(const char *op, const char *path, int fd);
+static inline void __darwintrace_log_op(const char *op, const char *path);
 static void __darwintrace_copy_env() __attribute__((constructor));
 static void __darwintrace_setup_tls() __attribute__((constructor));
 static inline char *__darwintrace_alloc_env(const char *varName, const char *varValue);
@@ -910,12 +910,12 @@
 							 * access anyway, but report a sandbox violation.
 							 * TODO find a better solution */
 							if (report)
-								__darwintrace_log_op("sandbox_violation", normalizedpath, 0);
+								__darwintrace_log_op("sandbox_violation", normalizedpath);
 							return 1;
 						case 0:
 							/* file belongs to a foreign port, deny access */
 							if (report)
-								__darwintrace_log_op("sandbox_violation", normalizedpath, 0);
+								__darwintrace_log_op("sandbox_violation", normalizedpath);
 							return 0;
 					}
 				default:
@@ -926,7 +926,7 @@
 	}
 
 	if (report)
-		__darwintrace_log_op("sandbox_violation", normalizedpath, 0);
+		__darwintrace_log_op("sandbox_violation", normalizedpath);
 	return 0;
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131027/7784068c/attachment.html>


More information about the macports-changes mailing list