Throughout, call fcntl64 instead of fcntl or fcntl_worker.
* fcntl.cc (fcntl_worker): Remove. (fcntl64): Add fault handler. Move fcntl_worker stuff here. Add case for locking and call fhandler's lock method directly. Make sure that F_FLOCK flag isn't set in lock call. (_fcntl): Add fault handler. * fhandler.cc (fhandler_base::fcntl): Drop lock cases. * flock.cc (flock): Add fault handler. Simplify code. Call fhandlers lock method directly instead of fcntl_worker. Add debug output. (lockf): Add fault handler. Call fhandlers lock method directly instead of fcntl_worker. Add debug output. * winsup.h (fcntl_worker): Drop declaration. (fcntl64): Declare.
This commit is contained in:
@@ -1,3 +1,19 @@
|
||||
2008-04-01 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
Throughout, call fcntl64 instead of fcntl or fcntl_worker.
|
||||
* fcntl.cc (fcntl_worker): Remove.
|
||||
(fcntl64): Add fault handler. Move fcntl_worker stuff here. Add case
|
||||
for locking and call fhandler's lock method directly. Make sure that
|
||||
F_FLOCK flag isn't set in lock call.
|
||||
(_fcntl): Add fault handler.
|
||||
* fhandler.cc (fhandler_base::fcntl): Drop lock cases.
|
||||
* flock.cc (flock): Add fault handler. Simplify code. Call fhandlers
|
||||
lock method directly instead of fcntl_worker. Add debug output.
|
||||
(lockf): Add fault handler. Call fhandlers lock method directly
|
||||
instead of fcntl_worker. Add debug output.
|
||||
* winsup.h (fcntl_worker): Drop declaration.
|
||||
(fcntl64): Declare.
|
||||
|
||||
2008-03-31 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* smallprint.cc (__small_vswprintf): Fix uninitialized usage of `w'.
|
||||
|
||||
Reference in New Issue
Block a user