commit | e70f32b79d29e287f8347c5d41c6716f094cc654 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Feb 15 17:41:38 2008 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Feb 16 10:05:48 2008 -0500 |
tree | 0a4af0f1b82efe794d9fde7c49817e2d9be8d6a5 | |
parent | 67ab6bc86b19912d970c6b45e63b7bc93ca38494 [diff] |
libuuid: use fcntl locking instead of lockf Cygwin doesn't support lockf(), so move to fcntl() locking as more portable. Also fix a bug which could cause get_lock() to loop forever if the attempt to lock the file fails for some reason. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>