Browse Source

uv: upgrade to 8f617b9

v0.7.4-release
Ben Noordhuis 13 years ago
parent
commit
fcba1459f2
  1. 31
      deps/uv/README.md
  2. 7
      deps/uv/src/unix/fs.c

31
deps/uv/README.md

@ -8,34 +8,37 @@ http://nodejs.org/
## Features
Implemented Features:
Implemented:
* Non-blocking sockets and pipes
* Non-blocking TCP sockets
* Timers
* Non-blocking named pipes
* UDP
* Timers
* 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
will support kqueue and event ports in the near future.)
* File system events (Currently supports inotify, `ReadDirectoryChangesW`
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
@ -58,7 +61,7 @@ To build with Visual Studio run the vcbuilds.bat file which will
checkout the GYP code into build/gyp and generate the uv.sln and
related files.
Windows users can also build from cmd-line using msbuild. This is
Windows users can also build from cmd-line using msbuild. This is
done by running vcbuild.bat from Visual Studio command prompt.
To have GYP generate build script for another system you will need to

7
deps/uv/src/unix/fs.c

@ -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) {
char* path = NULL;
#ifdef __FreeBSD__
/* freebsd doesn't have fdatasync, do a full fsync instead. */
#if defined(__FreeBSD__) \
|| (__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))
#else
WRAP_EIO(UV_FS_FDATASYNC, eio_fdatasync, fdatasync, ARGS1(file))

Loading…
Cancel
Save