uv: upgrade to 8f617b9

This commit is contained in:
Ben Noordhuis 2011-09-24 05:23:41 +02:00
parent 43cb4ec76b
commit fcba1459f2
2 changed files with 22 additions and 16 deletions

29
deps/uv/README.md vendored
View File

@ -8,34 +8,37 @@ http://nodejs.org/
## Features ## Features
Implemented Features: Implemented:
* Non-blocking sockets and pipes * Non-blocking TCP sockets
* Timers * Non-blocking named pipes
* UDP * UDP
* Timers
* Child process spawning * Child process spawning
* Asynchronous DNS via c-ares or getaddrinfo. * Asynchronous DNS via c-ares or `uv_getaddrinfo`.
* Asynchronous file system APIs (uv_fs_*) * Asynchronous file system APIs `uv_fs_*`
* High resolution time (uv_hrtime) * High resolution time `uv_hrtime`
* Current executable path look up (uv_exepath) * Current executable path look up `uv_exepath`
* Thread pool scheduling (uv_queue_work) * Thread pool scheduling `uv_queue_work`
Work in progress: In-progress:
* File system events (Currently supports inotify, ReadDirectoryChangesW and * File system events (Currently supports inotify, `ReadDirectoryChangesW`
will support kqueue and event ports in the near future.) and will support kqueue and event ports in the near future.)
`uv_fs_event_t`
* TTY support (with VT100 emulation on Windows - work in progress) * VT100 TTY `uv_tty_t`
* Socket sharing between processes * Socket sharing between processes `uv_ipc_t`
## Documentation ## Documentation

View File

@ -447,8 +447,11 @@ int uv_fs_fsync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) {
int uv_fs_fdatasync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) { int uv_fs_fdatasync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) {
char* path = NULL; char* path = NULL;
#ifdef __FreeBSD__ #if defined(__FreeBSD__) \
/* freebsd doesn't have fdatasync, do a full fsync instead. */ || (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060)
/* freebsd and pre-10.6 darwin don't have fdatasync,
* do a full fsync instead.
*/
WRAP_EIO(UV_FS_FDATASYNC, eio_fdatasync, fsync, ARGS1(file)) WRAP_EIO(UV_FS_FDATASYNC, eio_fdatasync, fsync, ARGS1(file))
#else #else
WRAP_EIO(UV_FS_FDATASYNC, eio_fdatasync, fdatasync, ARGS1(file)) WRAP_EIO(UV_FS_FDATASYNC, eio_fdatasync, fdatasync, ARGS1(file))