freebsd-nq/contrib/nvi/common
Brian Somers 2e4e1ffe62 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
1999-08-06 08:34:42 +00:00
..
api.c
args.h
common.h
cut.c
cut.h
delete.c
exf.c
exf.h
gs.h
key.c
key.h
line.c
log.c
log.h
main.c
mark.c
mark.h
mem.h
msg.c
msg.h
options_f.c
options.awk
options.c
options.h
put.c
recover.c
screen.c
screen.h
search.c
seq.c
seq.h
util.c
util.h