diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-24 02:18:03 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-24 02:18:03 +0000 |
commit | c693840fe81e59a308e0c6e3d2bafae728d1caff (patch) | |
tree | 10924edda7796e5242e460364c2f3587f2841c0f /editors | |
parent | 42cc304e9084843ad6b153afaf4b3f6c6528c364 (diff) | |
download | busybox-w32-c693840fe81e59a308e0c6e3d2bafae728d1caff.tar.gz busybox-w32-c693840fe81e59a308e0c6e3d2bafae728d1caff.tar.bz2 busybox-w32-c693840fe81e59a308e0c6e3d2bafae728d1caff.zip |
*: whitespace fixes, no code changes
Diffstat (limited to 'editors')
-rw-r--r-- | editors/patch.c | 4 | ||||
-rw-r--r-- | editors/vi.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/editors/patch.c b/editors/patch.c index a2d593d87..e0fb58f87 100644 --- a/editors/patch.c +++ b/editors/patch.c | |||
@@ -74,7 +74,7 @@ int patch_main(int argc ATTRIBUTE_UNUSED, char **argv) | |||
74 | int patch_level; | 74 | int patch_level; |
75 | int ret = 0; | 75 | int ret = 0; |
76 | 76 | ||
77 | xfunc_error_retval = 2; | 77 | xfunc_error_retval = 2; |
78 | { | 78 | { |
79 | const char *p = "-1"; | 79 | const char *p = "-1"; |
80 | const char *i = "-"; /* compat */ | 80 | const char *i = "-"; /* compat */ |
@@ -114,7 +114,7 @@ int patch_main(int argc ATTRIBUTE_UNUSED, char **argv) | |||
114 | if (!patch_line || strncmp(patch_line, "+++ ", 4) != 0) | 114 | if (!patch_line || strncmp(patch_line, "+++ ", 4) != 0) |
115 | bb_error_msg_and_die("invalid patch"); | 115 | bb_error_msg_and_die("invalid patch"); |
116 | new_filename = extract_filename_and_free_line(patch_line, patch_level); | 116 | new_filename = extract_filename_and_free_line(patch_line, patch_level); |
117 | 117 | ||
118 | /* Get access rights from the file to be patched, -1 file does not exist */ | 118 | /* Get access rights from the file to be patched, -1 file does not exist */ |
119 | if (stat(new_filename, &saved_stat) != 0) { | 119 | if (stat(new_filename, &saved_stat) != 0) { |
120 | char *line_ptr; | 120 | char *line_ptr; |
diff --git a/editors/vi.c b/editors/vi.c index 65fb0265e..454cfcee4 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -419,7 +419,7 @@ int vi_main(int argc, char **argv) | |||
419 | /* fall through */ | 419 | /* fall through */ |
420 | 420 | ||
421 | default: | 421 | default: |
422 | bb_show_usage(); | 422 | bb_show_usage(); |
423 | return 1; | 423 | return 1; |
424 | } | 424 | } |
425 | } | 425 | } |