Skip to content

Commit

Permalink
darwintrace: posix_spawn_t is now unused, remove it.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.macports.org/repository/macports/trunk/base@117752 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
neverpanic committed Mar 10, 2014
1 parent 7aa2869 commit 8886b15
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/darwintracelib1.0/proc.c
Expand Up @@ -292,14 +292,6 @@ int _dt_execve(const char *path, char *const argv[], char *const envp[]) {
DARWINTRACE_INTERPOSE(_dt_execve, execve);

#if defined(HAVE_SPAWN_H) && defined(HAVE_POSIX_SPAWN)
// Let's save some typing work...
typedef int (*posix_spawn_t)(
pid_t *restrict,
const char *restrict,
const posix_spawn_file_actions_t *,
const posix_spawnattr_t *restrict,
char *const *restrict,
char *const *restrict);
/**
* Wrapper for \c posix_spawn(2). Denies access and simulates the file does not
* exist, if it's outside the sandbox. Also checks for potential interpreters
Expand Down

0 comments on commit 8886b15

Please sign in to comment.