diff options
author | ed <ed@FreeBSD.org> | 2008-06-23 05:22:06 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2008-06-23 05:22:06 +0000 |
commit | 6fc79f1dacf676008042f647315769e5e8edbcfa (patch) | |
tree | 37f73290d9e8248f3796231b9552e9950ed5a717 /lib/libc/include | |
parent | 88c4783a40954d6c191083f0147479775667be73 (diff) | |
download | FreeBSD-src-6fc79f1dacf676008042f647315769e5e8edbcfa.zip FreeBSD-src-6fc79f1dacf676008042f647315769e5e8edbcfa.tar.gz |
Turn execvpe() into an internal libc routine.
Adding exevpe() has caused some ports to break. Even though execvpe() is
a useful routine, it does not conform to any standards.
This patch is a little bit different from the patch sent to the mailing
list. I forgot to remove execvpe from the Symbol.map (which does not
seem to miscompile libc, though).
Reviewed by: davidxu
Approved by: philip
Diffstat (limited to 'lib/libc/include')
-rw-r--r-- | lib/libc/include/libc_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index 40a93bc..70e1ef8 100644 --- a/lib/libc/include/libc_private.h +++ b/lib/libc/include/libc_private.h @@ -195,4 +195,7 @@ extern void * __sys_freebsd6_mmap(void *, __size_t, int, int, int, int, __off_t) /* Without back-compat translation */ extern int __sys_fcntl(int, int, ...); +/* execve() with PATH processing to implement posix_spawnp() */ +int _execvpe(const char *, char * const *, char * const *); + #endif /* _LIBC_PRIVATE_H_ */ |