freebsd-dev/usr.bin/patch
Pedro F. Giffuni 12300d3aa0 patch: if reading fails, do not go into infinite loop asking for a filename.
This can happen if no tty is available.

Obtained from:	OpenBSD (CVS rev 1.54)
MFC after:	5 days
2017-06-08 03:15:08 +00:00
..
backupfile.c patch(1): Add -Vnone option to disable backup files 2015-07-21 22:57:27 +00:00
backupfile.h
common.h patch(1): make some macros look boolean. 2016-10-01 20:46:01 +00:00
inp.c bc/dc/patch: make some use of reallocarray(3). 2017-03-05 16:10:35 +00:00
inp.h
Makefile Drop build option switch for the older GNU patch. 2013-08-29 00:38:24 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
mkpath.c
patch.1 Remove automatic checkout feature. 2015-08-15 00:42:33 +00:00
patch.c patch(1): replace strnlen() with a simpler strlen(). 2017-01-02 18:27:35 +00:00
pathnames.h Fix shell injection vulnerability in patch(1) via ed(1) by 2015-08-05 22:04:54 +00:00
pch.c patch: if reading fails, do not go into infinite loop asking for a filename. 2017-06-08 03:15:08 +00:00
pch.h Revert r311106: 2017-01-02 18:23:31 +00:00
util.c Remove automatic checkout feature. 2015-08-15 00:42:33 +00:00
util.h Remove automatic checkout feature. 2015-08-15 00:42:33 +00:00