CVS commit: src/usr.bin/patch

2021-05-26 Thread Chris Pinnock
Module Name:src Committed By: cjep Date: Wed May 26 07:57:05 UTC 2021 Modified Files: src/usr.bin/patch: inp.c Log Message: correct indentation. spotted by Roland. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.bin/patch/inp.c Please note that dif

CVS commit: src/usr.bin/patch

2021-05-25 Thread Chris Pinnock
Module Name:src Committed By: cjep Date: Tue May 25 11:25:59 UTC 2021 Modified Files: src/usr.bin/patch: common.h inp.c patch.c pch.c util.c Log Message: As per OpenBSD, use malloc for the line buffer. Fixes the known issue with long lines and makes our ATF test suite pass

CVS commit: src/usr.bin/patch

2021-02-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Feb 20 09:17:13 UTC 2021 Modified Files: src/usr.bin/patch: patch.c Log Message: patch(1): use PATH_MAX for the size of rejname via freebsd, openbsd To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.bin/pat

CVS commit: src/usr.bin/patch

2021-02-19 Thread Nia Alarie
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 backu

CVS commit: src/usr.bin/patch

2020-11-17 Thread Olaf Seibert
Module Name:src Committed By: rhialto Date: Tue Nov 17 20:49:12 UTC 2020 Modified Files: src/usr.bin/patch: pch.c util.c Log Message: Remove heuristic for dealing with trailing newlines being truncated by mailers. Patch and explanation taken from bsdimp: https://bsdimp.bl

CVS commit: src/usr.bin/patch

2018-06-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 18 18:33:31 UTC 2018 Modified Files: src/usr.bin/patch: inp.c pch.c util.c util.h Log Message: Keep things portable (requested by joerg) by not depending on reallocarr and instead doing the overflow check ourselves. To

CVS commit: src/usr.bin/patch

2018-06-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jun 16 00:40:14 UTC 2018 Modified Files: src/usr.bin/patch: inp.c Log Message: PR/53368: Thomas Barabosch: Potential integer overflow in usr.bin/patch/inp.c To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src

CVS commit: src/usr.bin/patch

2018-04-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Apr 5 18:50:10 UTC 2018 Modified Files: src/usr.bin/patch: pch.c Log Message: Pass -S to ed(1) so that patches containing ! commands don't run commands. Real cause of CVS-2018-0492: https://bugs.debian.org/cgi-bin/bugre

CVS commit: src/usr.bin/patch

2015-11-07 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sat Nov 7 18:26:55 UTC 2015 Modified Files: src/usr.bin/patch: patch.1 Log Message: Explain what "-V none" does. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/usr.bin/patch/patch.1 Please note that diffs are

CVS commit: src/usr.bin/patch

2015-11-07 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sat Nov 7 18:11:21 UTC 2015 Modified Files: src/usr.bin/patch: util.c Log Message: paths.h is not used. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/patch/util.c Please note that diffs are not publi

CVS commit: src/usr.bin/patch

2015-08-02 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Aug 2 12:19:13 UTC 2015 Modified Files: src/usr.bin/patch: patch.1 Log Message: Fix two typos. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.bin/patch/patch.1 Please note that diffs are not public doma

CVS commit: src/usr.bin/patch

2015-08-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Aug 2 03:19:02 UTC 2015 Modified Files: src/usr.bin/patch: patch.1 Log Message: remove reference to SCCS which is not supported anymore. XXX: pullup-7 To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.

CVS commit: src/usr.bin/patch

2015-07-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jul 30 21:47:51 UTC 2015 Modified Files: src/usr.bin/patch: pch.c Log Message: from bitrieg: Substitution commands might contain a newline in the replacement pattern (escaped with a backslash before it), causing patch's und

CVS commit: src/usr.bin/patch

2015-07-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jul 24 18:56:44 UTC 2015 Modified Files: src/usr.bin/patch: common.h Log Message: Use absolute paths for RCS commands (Martin Natano) To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.bin/patch/common.h

CVS commit: src/usr.bin/patch

2015-07-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jul 24 18:56:00 UTC 2015 Modified Files: src/usr.bin/patch: inp.c Log Message: >From Martin Natano @bitrig: Use execve(2) instead of system to apply patches that require rcs command execution instead system(3) to avoid malic

CVS commit: src/usr.bin/patch

2014-11-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Nov 27 15:07:23 UTC 2014 Modified Files: src/usr.bin/patch: pch.c Log Message: PR/49422: Ryo ONODERA: patch(1) cannot handle context diffs To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/patch/pch

CVS commit: src/usr.bin/patch

2014-11-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 26 00:31:32 UTC 2014 Modified Files: src/usr.bin/patch: common.h pch.c Log Message: Avoid coredumps when the linenumbers in the hunks turn negative. From: http://marc.info/?l=openbsd-tech&m=141693055412785 XXX: pullup 7

CVS commit: src/usr.bin/patch

2014-04-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Apr 11 17:41:09 UTC 2014 Modified Files: src/usr.bin/patch: patch.1 Log Message: mention -V none To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.bin/patch/patch.1 Please note that diffs are not publi

CVS commit: src/usr.bin/patch

2014-04-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Apr 11 17:30:03 UTC 2014 Modified Files: src/usr.bin/patch: backupfile.c Log Message: recognize -V none To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.bin/patch/backupfile.c Please note that diffs a

CVS commit: src/usr.bin/patch

2013-01-29 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Jan 29 09:30:11 UTC 2013 Modified Files: src/usr.bin/patch: patch.1 pch.c Log Message: Add comma after i.e. >From Bug Hunting. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/usr.bin/patch/patch.1 cvs rdiff -u

CVS commit: src/usr.bin/patch

2011-09-06 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Sep 6 18:25:14 UTC 2011 Modified Files: src/usr.bin/patch: patch.c pch.c util.h Log Message: Consistently use __dead and __printflike. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/usr.bin/patch/patch.c c

CVS commit: src/usr.bin/patch

2011-03-26 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Mar 26 21:45:48 UTC 2011 Modified Files: src/usr.bin/patch: patch.c Log Message: Exit with EXIT_FAILURE for invalid arguments. PR 43517. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.bin/patch/patch

CVS commit: src/usr.bin/patch

2010-10-02 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sat Oct 2 19:31:14 UTC 2010 Modified Files: src/usr.bin/patch: util.c Log Message: Print version string to stdout instead of stderr; it is user-requested and not an error. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1