Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
uv: upgrade to 8f617b9
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Sep 24, 2011
1 parent 43cb4ec commit fcba145
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 16 deletions.
31 changes: 17 additions & 14 deletions deps/uv/README.md
Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 5 additions & 2 deletions deps/uv/src/unix/fs.c
Expand Up @@ -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))
Expand Down

0 comments on commit fcba145

Please sign in to comment.