freebsd-dev/usr.bin/patch
Pedro F. Giffuni f718bedc4f Fixes to exit status.
Exit with EXIT_FAILURE for invalid arguments.
Fixes NetBSD-PR 43517.

Print version string to stdout instead of stderr;
it is user-requested and not an error.

Obtained from:	NetBSD
MFC after:	5 days
2014-12-31 16:30:33 +00:00
..
backupfile.c
backupfile.h
common.h patch(1): avoid line number overflows 2014-12-08 15:10:48 +00:00
inp.c
inp.h
Makefile Drop build option switch for the older GNU patch. 2013-08-29 00:38:24 +00:00
mkpath.c
patch.1 patch: add dry-run alias for compatibility with other implementations. 2014-06-15 16:38:17 +00:00
patch.c Fixes to exit status. 2014-12-31 16:30:33 +00:00
pathnames.h
pch.c patch: Bring in xstrdup and use it when appropriate. 2014-12-25 21:51:28 +00:00
pch.h patch: unsign the line length to avoid overflows. 2014-06-15 03:54:23 +00:00
util.c Fixes to exit status. 2014-12-31 16:30:33 +00:00
util.h patch: Bring in xstrdup and use it when appropriate. 2014-12-25 21:51:28 +00:00