[MacPorts] #49753: sip_copy_proc.c:333:45: error: use of undeclared identifier 'O_CLOEXEC'
MacPorts
noreply at macports.org
Thu Nov 19 16:46:48 PST 2015
#49753: sip_copy_proc.c:333:45: error: use of undeclared identifier 'O_CLOEXEC'
--------------------------+--------------------
Reporter: ryandesign@… | Owner: cal@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.3.99
Keywords: | Port:
--------------------------+--------------------
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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/49753>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list