Ticket #49753: patch-src-pextlib1.0-sip_copy_proc.c.diff
File patch-src-pextlib1.0-sip_copy_proc.c.diff, 654 bytes (added by nerdling (Jeremy Lavergne), 9 years ago) |
---|
-
src/pextlib1.0/sip_copy_proc.c
330 330 goto lazy_copy_out; 331 331 } 332 332 333 #ifdef O_CLOEXEC 333 334 if (-1 == (infd = open(path, O_RDONLY | O_CLOEXEC))) { 334 335 fprintf(stderr, "sip_copy_proc: open(%s, O_RDONLY | O_CLOEXEC): %s\n", path, strerror(errno)); 336 #else 337 if (-1 == (infd = open(path, O_RDONLY))) { 338 fprintf(stderr, "sip_copy_proc: open(%s, O_RDONLY): %s\n", path, strerror(errno)); 339 #endif 335 340 goto lazy_copy_out; 336 341 } 337 342