summaryrefslogtreecommitdiffstats
path: root/usr.bin/ruptime
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-08-06 08:34:42 +0000
committerbrian <brian@FreeBSD.org>1999-08-06 08:34:42 +0000
commitdf1c1756e31202c817f6c35422ebc847da176a0a (patch)
treed63ccca9ddc61249d78f149e256403c60a656e69 /usr.bin/ruptime
parent2dc04dd2d74821b0d573c8e84fd05cf7f8bfbee8 (diff)
downloadFreeBSD-src-df1c1756e31202c817f6c35422ebc847da176a0a.zip
FreeBSD-src-df1c1756e31202c817f6c35422ebc847da176a0a.tar.gz
Set the close-on-exec flag when we lock the file we're editing.
This prevents any background sub-command executed from inheriting the descriptor & lock (and making vi think that someone else is editing the file when it re-edits). Remembered from: An OpenBSD commit message from May '99
Diffstat (limited to 'usr.bin/ruptime')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud