summaryrefslogtreecommitdiffstats
path: root/usr.bin/rcs/rcsprog.c
diff options
context:
space:
mode:
authorray <ray@openbsd.org>2006-03-16 04:01:46 +0000
committerray <ray@openbsd.org>2006-03-16 04:01:46 +0000
commit7eb898e2a6cadbc708c13e109678a1b074998345 (patch)
tree72f9eb63317e11ec01fe76c0bfac3917e18a530c /usr.bin/rcs/rcsprog.c
parentQuiet, please. (diff)
downloadwireguard-openbsd-7eb898e2a6cadbc708c13e109678a1b074998345.tar.xz
wireguard-openbsd-7eb898e2a6cadbc708c13e109678a1b074998345.zip
Currently co(1) overwrites files that the current user doesn't have
write permissions for. If you own the directory, that means your existing file, mode 000, is blown away without prompting you. GNU RCS does this as well. This fixes changes co(1) to always prompt if a file exists. This breaks GNU compatibility but I think it's more important that we prevent co(1) from overwriting files with strict permissions without even prompting. ``makes sense'' xsa to an earlier diff
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
0 files changed, 0 insertions, 0 deletions