Commit Graph

28 Commits

Author SHA1 Message Date
kristerw f3dbc98b85 Handle patches in which diff(1) has added lines saying
"\ No newline at end of file"
2002-03-24 01:56:20 +00:00
kristerw ec7291ab70 Don't leak memory if realloc fails
Spell "FALLTHROUGH" correctly
2002-03-16 23:55:02 +00:00
kristerw 93318b47b3 Check result of malloc and strdup
Made some functions static
Removed unneccessary buffer
Increased size of some buffers that could overflow
2002-03-16 22:36:42 +00:00
kristerw 774d6dd9e1 KNF 2002-03-15 19:44:54 +00:00
kristerw 2b96113ff9 KNF 2002-03-11 23:29:02 +00:00
kristerw dbe85b35bd Remove obsolete files. 2002-03-11 18:57:50 +00:00
kristerw 175b5054de Ansify
Remove unused defines
Remove #ifndef lint
Remove redundant and incorrect casts.
2002-03-11 18:47:51 +00:00
kristerw 8bcbaa7bc8 Ansify
Remove 'register'
Make local functions static.
Remove most '#ifndef lint'
2002-03-08 21:57:33 +00:00
ragge 744110b40b License change; patch.c now has a BSD license.
From Larry Wall via Niklas Hallqvist, <niklas@appli.se>.
2002-03-06 12:01:03 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
kleink 961cdd38dd Support the 1003.2-92 -i option to specify a patchfile;
fixes PR standards/11221.
2000-10-16 07:05:04 +00:00
is 135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
sommerfe 141aa9e579 Fix PR2429: catch doubly-applied patches which create new files. 1999-02-09 05:15:45 +00:00
christos b239b35fe2 char -> unsigned char
rindex -> strrchr
1998-11-06 22:40:13 +00:00
christos 795e0608f6 WARNSify 1998-02-22 12:55:44 +00:00
augustss a26c93f4ed Increase maximum line length. (Prompted by trying to use the FreeBSD
ghostscript package.)
1997-11-22 22:27:12 +00:00
lukem acafa8e6b6 disable WARNS here 1997-10-19 14:05:48 +00:00
phil 27984d173e Set appropiate flag when wanting to skip a patch. Fixes only true
bug reported in PR 2215.
1997-07-29 19:49:35 +00:00
lukem 0c81e58868 use mkstemp() instead of mktemp() to create the tempfile 1997-03-22 03:38:03 +00:00
thorpej 29cf09f47a RCS id police. 1996-09-19 06:27:04 +00:00
thorpej 0b02f897d7 Decode long (GNU-style) options. Changes originally from Niklas Hallqvist,
but modified some by me.
1996-09-19 06:10:02 +00:00
cgd 1c759e8912 headers and redundant declarations. 1994-12-24 17:30:13 +00:00
cgd e26987fe07 kill lseek def'n. the entire thing needs cleanup badly 1994-03-28 09:19:18 +00:00
mycroft 3071125013 Eliminate a compiler warning. 1993-12-07 10:30:52 +00:00
mycroft aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 3b63e56cdf patch 2.0.12u8, from prep.ai.mit.edu. this is not under the GPL. 1993-04-09 11:33:50 +00:00