sip_copy_proc.c:333:45: error: use of undeclared identifier 'O_CLOEXEC'
https://build.macports.org/builders/buildbase-snowleopard-x86_64/builds/1849
sip_copy_proc.c:119:53: warning: unused parameter 'path' [-Wunused-parameter]
static copy_needed_return_t copy_needed(const char *path, char *const argv[],
^
sip_copy_proc.c:119:71: warning: unused parameter 'argv' [-Wunused-parameter]
static copy_needed_return_t copy_needed(const char *path, char *const argv[],
^
sip_copy_proc.c:120:16: warning: unused parameter 'outargv' [-Wunused-parameter]
char **outargv[], char *const environ[], struct stat *st) {
^
sip_copy_proc.c:120:39: warning: unused parameter 'environ' [-Wunused-parameter]
char **outargv[], char *const environ[], struct stat *st) {
^
sip_copy_proc.c:120:63: warning: unused parameter 'st' [-Wunused-parameter]
char **outargv[], char *const environ[], struct stat *st) {
^
sip_copy_proc.c:333:45: error: use of undeclared identifier 'O_CLOEXEC'
if (-1 == (infd = open(path, O_RDONLY | O_CLOEXEC))) {
^
sip_copy_proc.c:349:33: error: use of undeclared identifier 'buf'
bytes_read = read(infd, buf, in_st->st_blksize);
^
sip_copy_proc.c:365:44: error: use of undeclared identifier 'buf'
ssize_t written = write(outfd, buf + bytes_written, bytes_read - bytes_written);
^
5 warnings and 3 errors generated.
make[2]: *** [sip_copy_proc.o] Error 1
Cc Me!