c85672eb | 13-Aug-2012 |
Bert Belder |
test: avoid compiler complaints about implicit double-to-int cast |
762c85c3 | 13-Aug-2012 |
Bert Belder |
windows: un-break the build |
758a7692 | 13-Aug-2012 |
Ben Noordhuis |
unix: fix SIGCHLD race in process.c Start the SIGCHLD signal watcher before calling fork(). There was a very subtle race where a child process could quit (and generate a SIGCHILD) before
unix: fix SIGCHLD race in process.c Start the SIGCHLD signal watcher before calling fork(). There was a very subtle race where a child process could quit (and generate a SIGCHILD) before the signal handler was installed. To reproduce, call uv_spawn() repeatedly with the below x86_64 program: // compile with `gcc -O2 -nostdlib` void _start(void) { // syscall(SYS_exit, 0) __asm__ __volatile__ ( "xorq %rdi, %rdi;" "xorq %rax, %rax;" "mov $0x3c, %al;" "syscall;" ); for (;;); }
show more ...
|
9d7e3003 | 13-Aug-2012 |
Ben Noordhuis |
Merge branch 'v0.8'
|
2c3e8b6a | 13-Aug-2012 |
Ben Noordhuis |
build: rework -fvisibility=hidden detection Make the gcc_version macro conform with what node.js and v8 use. Important because node.js's common.gypi is going to export it soon. |
ac0d4685 | 11-Aug-2012 |
Ben Noordhuis |
unix: work around darwin bug, don't poll() on pipe poll() on newer versions of OS X sets POLLHUP|POLLIN whereas older versions (and other Unices) only set POLLHUP. It was tripping up a c
unix: work around darwin bug, don't poll() on pipe poll() on newer versions of OS X sets POLLHUP|POLLIN whereas older versions (and other Unices) only set POLLHUP. It was tripping up a check that expected to read data when POLLIN was set. While easy to work around, I switched it to a blocking read instead: it's less code and avoids surprises like the one above altogether. Fixes #522.
show more ...
|
Revision tags: node-v0.8.6, node-v0.8.5, node-v0.6.21 |
|
23dc564f | 21-Jul-2012 |
Fedor Indutny |
darwin: emulate fdatasync() with fcntl(F_FULLFSYNC) OS X has no public API for fdatasync. And as pointed out in `man fsync(2)`: For applications that require tighter guarantees ab
darwin: emulate fdatasync() with fcntl(F_FULLFSYNC) OS X has no public API for fdatasync. And as pointed out in `man fsync(2)`: For applications that require tighter guarantees about the integrity of their data, Mac OS X provides the F_FULLFSYNC fcntl. The F_FULLFSYNC fcntl asks the drive to flush all buffered data to permanent storage. Applications, such as databases, that require a strict ordering of writes should use F_FULLFSYNC to ensure that their data is written in the order they expect. Please see fcntl(2) for more detail.
show more ...
|
837edf4c | 09-Aug-2012 |
Ben Noordhuis |
unix, windows: remove handle init counters Remove the handle init counters, no one uses them. |
caa79af2 | 09-Aug-2012 |
Ben Noordhuis |
unix: rework uv_eio_init() init once logic Don't use counters.eio_init to track if libeio has been initialized, it's going to be removed in a follow-up commit. |
75ba6819 | 08-Aug-2012 |
Ben Noordhuis |
unix: remove dependency on ev_child |
Revision tags: node-v0.8.3 |
|
ee50db6e | 10-Jul-2012 |
Ben Noordhuis |
unix, windows: preliminary signal handler support * a no-op on Windows for now * only supports the main loop on UNIX (again, for now) |
5143d54a | 07-Aug-2012 |
Trond Norbye |
Allow inclusion of <uv.h> with Sun Studio compiler The Sun Studio compiler did not define any of the symbols used to determine if the system was a unix-like system or not causing it to i
Allow inclusion of <uv.h> with Sun Studio compiler The Sun Studio compiler did not define any of the symbols used to determine if the system was a unix-like system or not causing it to include the windows header.
show more ...
|
cbb93002 | 07-Aug-2012 |
Trond Norbye |
Allow headers to be included with -Werror and -Wundef Users of the library may enforce a stricter set of compiler warnings causing their builds to fail due to warnings emitted from the h
Allow headers to be included with -Werror and -Wundef Users of the library may enforce a stricter set of compiler warnings causing their builds to fail due to warnings emitted from the headers.
show more ...
|
d4737abd | 08-Aug-2012 |
Ben Noordhuis |
unix: remove dead code in process.c uv_spawn() saves and restores the environ in case the child clobbers it - which is impossible because the child process runs in a separate address spa
unix: remove dead code in process.c uv_spawn() saves and restores the environ in case the child clobbers it - which is impossible because the child process runs in a separate address space.
show more ...
|
47f496aa | 08-Aug-2012 |
Ben Noordhuis |
unix: simplify stdio handling in process.c |
13467a40 | 08-Aug-2012 |
Ben Noordhuis |
unix: retrieve execve() errors in process.c Make the forked child process send the errno to its parent process when it fails to spawn a new process. |
bf28aa4e | 08-Aug-2012 |
Ben Noordhuis |
unix: drop SPAWN_WAIT_EXEC guard in process.c Code cleanup. This "experimental" feature was always enabled anyway, might as well remove the define guard. |
a1157cef | 08-Aug-2012 |
Bert Belder |
windows: don't duplicate invalid stdio handles Ref: joyent/node#3779 |
21f2c162 | 08-Aug-2012 |
Ben Noordhuis |
include: fix macro formatting |
00d2f221 | 08-Aug-2012 |
Bert Belder |
windows: fix typos in process-stdio.c |
f3720243 | 07-Aug-2012 |
Ben Noordhuis |
include: link to Nikhil Marathe's libuv ebook |
f97c80fa | 07-Aug-2012 |
Ben Noordhuis |
unix: fix const correctness compiler warning |
41b1265a | 06-Aug-2012 |
Bert Belder |
Rip out c-ares |
a0699569 | 06-Aug-2012 |
Bert Belder |
Remove c-ares integrations |
35c48582 | 06-Aug-2012 |
Bert Belder |
Remove c-ares tests and benchmarks |