diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2015-11-02 01:00:48 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2015-11-05 13:28:13 +0100 |
commit | a6da5d7d6557fdfbb6887384b6119ef7e43f2d3f (patch) | |
tree | 4ee2f694cb128e20a4c9ac0d884e947ac0a2701c /docs/src | |
parent | f3216246a21e7e451e2ada29c934ed375da83cc3 (diff) | |
download | libuv-a6da5d7d6557fdfbb6887384b6119ef7e43f2d3f.tar.gz libuv-a6da5d7d6557fdfbb6887384b6119ef7e43f2d3f.zip |
darwin: abort() if (un)locking fs mutex fails
The pthread_mutex_lock() and pthread_mutex_unlock() calls logically
cannot fail in uv__fs_write() but let's check the return value anyway:
cosmic rays and memory corruption do happen.
PR-URL: https://github.com/libuv/libuv/pull/603
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions