diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-12-02 00:06:37 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-12-02 00:06:37 -0500 |
commit | 93d763b494e3368c21680f9a97c68bc354b7cb13 (patch) | |
tree | 3c5351b7f21491fc0109d4f82011a0e7aff17143 /src | |
parent | 9c6ca7d7ad304f0f961a9027e155b649fcce61b0 (diff) |
make posix_madvise standlone
Diffstat (limited to 'src')
-rw-r--r-- | src/library.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js index c7187054..77633c5e 100644 --- a/src/library.js +++ b/src/library.js @@ -541,7 +541,7 @@ LibraryManager.library = { // Advise as much as you wish. We don't care. return 0; }, - posix_madvise: 'posix_fadvise', + posix_madvise: function(){ return 0 }, // ditto as fadvise posix_fallocate__deps: ['$FS', '__setErrNo', '$ERRNO_CODES'], posix_fallocate: function(fd, offset, len) { // int posix_fallocate(int fd, off_t offset, off_t len); |