summaryrefslogtreecommitdiff
path: root/editors/patch.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /editors/patch.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'editors/patch.c')
-rw-r--r--editors/patch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/patch.c b/editors/patch.c
index 1587919bc..e3745ef39 100644
--- a/editors/patch.c
+++ b/editors/patch.c
@@ -31,7 +31,7 @@
31 * - Non-interactive 31 * - Non-interactive
32 * - Patches must apply cleanly or the hunk will fail. 32 * - Patches must apply cleanly or the hunk will fail.
33 * - Reject file isnt saved 33 * - Reject file isnt saved
34 * - 34 * -
35 */ 35 */
36 36
37#include <getopt.h> 37#include <getopt.h>
@@ -55,7 +55,7 @@ static int copy_lines(FILE *src_stream, FILE *dest_stream, const unsigned int li
55 bb_perror_msg_and_die("Error writing to new file"); 55 bb_perror_msg_and_die("Error writing to new file");
56 } 56 }
57 free(line); 57 free(line);
58 58
59 i++; 59 i++;
60 } 60 }
61 return(i); 61 return(i);
@@ -282,7 +282,7 @@ extern int patch_main(int argc, char **argv)
282 } 282 }
283 } 283 }
284 284
285 /* 0 = SUCCESS 285 /* 0 = SUCCESS
286 * 1 = Some hunks failed 286 * 1 = Some hunks failed
287 * 2 = More serious problems 287 * 2 = More serious problems
288 */ 288 */