Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/patch



Module Name:    src
Committed By:   nia
Date:           Fri Feb 19 17:46:53 UTC 2021

Modified Files:
        src/usr.bin/patch: backupfile.c backupfile.h patch.c

Log Message:
patch: make '-V none' work in the expected way

Internally the code confuses the concept of "the user doesn't want
a backup file" and "the user hasn't defined a type of backup file".

Introduce a new "undefined" backup type to serve the purpose "none"
previously did, and make "none" not generate backup files, as expected.

http://mail-index.netbsd.org/tech-userlevel/2021/02/19/msg012901.html

XXX pullup?


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/patch/backupfile.c
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/patch/backupfile.h
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/patch/patch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index