History log of /src/usr.bin/patch/backupfile.c |
Revision | | Date | Author | Comments |
1.16 |
| 19-Feb-2021 |
nia | 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?
|
1.15 |
| 11-Apr-2014 |
christos | branches: 1.15.16; 1.15.26; recognize -V none
|
1.14 |
| 19-Sep-2008 |
joerg | branches: 1.14.2; 1.14.24; 1.14.36; Update patch to the version used by DragonFly and derived from OpenBSD. Major changes are: - better detection of double applied patches - rejects remain unified diffs for unified patches - far less limitations, e.g. patch lines may be arbitrary long
This addresses PR standards/11220 by changing patch -b behavior to be POSIX compliant. Old behavior can be obtained using --suffix, which works since NetBSD 1.4. pkgsrc has been adjusted accordingly.
|
1.13 |
| 30-Jul-2003 |
itojun | use bounded string op
|
1.12 |
| 12-Jul-2003 |
itojun | copyright missing in files, copy them from README
|
1.11 |
| 08-Jul-2003 |
kristerw | Const poisoning.
|
1.10 |
| 30-May-2003 |
kristerw | Fix some lint warnings.
|
1.9 |
| 16-Mar-2002 |
kristerw | Check result of malloc and strdup Made some functions static Removed unneccessary buffer Increased size of some buffers that could overflow
|
1.8 |
| 11-Mar-2002 |
kristerw | Ansify Remove unused defines Remove #ifndef lint Remove redundant and incorrect casts.
|
1.7 |
| 08-Mar-2002 |
kristerw | Ansify Remove 'register' Make local functions static. Remove most '#ifndef lint'
|
1.6 |
| 06-Nov-1998 |
christos | char -> unsigned char rindex -> strrchr
|
1.5 |
| 22-Feb-1998 |
christos | WARNSify
|
1.4 |
| 19-Sep-1996 |
thorpej | RCS id police.
|
1.3 |
| 24-Dec-1994 |
cgd | headers and redundant declarations.
|
1.2 |
| 02-Aug-1993 |
mycroft | Add RCS identifiers, remove some completely useless RCS logs and patchkit headers, and a few other insignificant changes.
|
1.1 |
| 09-Apr-1993 |
cgd | patch 2.0.12u8, from prep.ai.mit.edu. this is not under the GPL.
|
1.14.36.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.14.24.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.14.2.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.15.26.1 |
| 26-Feb-2021 |
martin | Pull up following revision(s) (requested by nia in ticket #1215):
usr.bin/patch/backupfile.c: revision 1.16 usr.bin/patch/backupfile.h: revision 1.7 usr.bin/patch/patch.c: revision 1.30
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?
|
1.15.16.1 |
| 26-Feb-2021 |
martin | Pull up following revision(s) (requested by nia in ticket #1660):
usr.bin/patch/backupfile.c: revision 1.16 usr.bin/patch/backupfile.h: revision 1.7 usr.bin/patch/patch.c: revision 1.30
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?
|