summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/on_exit.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-06-04 10:24:43 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-06-04 10:24:43 +0000
commitedd73646f3c33f22d90957f1675308f902c6a00e (patch)
tree9e923948b0d9d08f9e4997b051fa2486fddfb029 /newlib/libc/stdlib/on_exit.c
parentca1dd3a9b5ac53f50c12ea146cd9aa4485ad9aa4 (diff)
downloadcygnal-edd73646f3c33f22d90957f1675308f902c6a00e.tar.gz
cygnal-edd73646f3c33f22d90957f1675308f902c6a00e.tar.bz2
cygnal-edd73646f3c33f22d90957f1675308f902c6a00e.zip
* fhandler.cc (fhandler_base::lock): Move to flock.cc.
(fhandler_base::fixup_after_exec): Reset mandatory_locking. * fhandler.h (class fhandler_base): Add mandatory_locking status flag. Add mandatory_locking accessor methods. Accommodate change throughout. (fhandler_base::mand_lock): Declare. (class fhandler_disk_file): Drop in favor of new status flag. * (fhandler_disk_file::fcntl): Call need_fork_fixup if mandatory_locking flag gets set. * flock.cc (fhandler_base::lock): Define here. (flock): Handle mandatory_locking. (lockf): Ditto. (fhandler_base::mand_lock): Define.
Diffstat (limited to 'newlib/libc/stdlib/on_exit.c')
0 files changed, 0 insertions, 0 deletions