|
|
@@ -24,10 +24,10 @@
|
|
|
#include <spawn.h>
|
|
|
--- a/wrapfunc.inp
|
|
|
+++ b/wrapfunc.inp
|
|
|
-@@ -48,9 +48,11 @@ getattrlist$UNIX2003;int;(const char *pa
|
|
|
- #endif
|
|
|
+@@ -51,9 +51,11 @@ getattrlist$UNIX2003;int;(const char *pa
|
|
|
#endif
|
|
|
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
|
|
|
+ #include <spawn.h>
|
|
|
+#if !__DARWIN_ONLY_64_BIT_INO_T
|
|
|
lstat$INODE64;int;(const char *file_name, struct stat *buf);(file_name, buf)
|
|
|
stat$INODE64;int;(const char *file_name, struct stat *buf);(file_name, buf)
|
|
|
@@ -36,7 +36,7 @@
|
|
|
posix_spawn;int;(pid_t * __restrict pid, const char * __restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict]);(pid, path, file_actions, attrp, argv, envp)
|
|
|
posix_spawnp;int;(pid_t * __restrict pid, const char * __restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict]);(pid, path, file_actions, attrp, argv, envp)
|
|
|
#endif
|
|
|
-@@ -229,7 +231,7 @@ facl;int;(int fd, int cmd, int cnt, void
|
|
|
+@@ -235,7 +237,7 @@ facl;int;(int fd, int cmd, int cnt, void
|
|
|
#ifdef HAVE_FTS_READ
|
|
|
fts_read;FTSENT *;(FTS *ftsp);(ftsp)
|
|
|
#ifdef __APPLE__
|
|
|
@@ -45,7 +45,7 @@
|
|
|
fts_read$INODE64;FTSENT *;(FTS *ftsp);(ftsp)
|
|
|
#endif
|
|
|
#endif /* ifdef __APPLE__ */
|
|
|
-@@ -237,7 +239,7 @@ fts_read$INODE64;FTSENT *;(FTS *ftsp);(f
|
|
|
+@@ -243,7 +245,7 @@ fts_read$INODE64;FTSENT *;(FTS *ftsp);(f
|
|
|
#ifdef HAVE_FTS_CHILDREN
|
|
|
fts_children;FTSENT *;(FTS *ftsp, int options);(ftsp, options)
|
|
|
#ifdef __APPLE__
|