summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/man
diff options
context:
space:
mode:
authord <d@openbsd.org>1999-05-24 22:43:35 +0000
committerd <d@openbsd.org>1999-05-24 22:43:35 +0000
commit7267e82f767b1d0e56c086444e84b0b81c738c51 (patch)
treef603feff77d63f1bca065c7932e2dff8dbe12297 /lib/libpthread/man
parentshow '(not a tty)' instead of '(null)' when wall is run with stderr not a tty. (e.g. when run from cron) (diff)
downloadwireguard-openbsd-7267e82f767b1d0e56c086444e84b0b81c738c51.tar.xz
wireguard-openbsd-7267e82f767b1d0e56c086444e84b0b81c738c51.zip
set the close-on-exec flag for newly opened files
Reason: vi uses flock to help you notice when you are already editing a file. But, when using :shell or :! the fdesc for the locked file is inherited by the subprocess. This means that if you (say) do a :!xterm& and then quit vi, the fdesc is kept open by the xterm and the lock is never released. future vi's on that file will then complain. I sent this off to bostic.com a long time ago but have as yet heard nothing.
Diffstat (limited to 'lib/libpthread/man')
0 files changed, 0 insertions, 0 deletions