aboutsummaryrefslogtreecommitdiff
path: root/coreutils/rmdir.c
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2000-07-14 23:24:00 +0000
committerMark Whitley <markw@lineo.com>2000-07-14 23:24:00 +0000
commit464c5de00d3dfb5f01e866f703d95bbb2bb9443c (patch)
treec770d2ac4df0293c245dc246f93abf500545d865 /coreutils/rmdir.c
parent70705d7c9681b4ea870ea11d0c569d81e5822169 (diff)
downloadbusybox-464c5de00d3dfb5f01e866f703d95bbb2bb9443c.tar.gz
Fixed a couple of buglets:
- add_cmd_str: segv's were being generated if there was a '# comment' line (and probably other kinds of lines, too) that was not followed by a semi-colon or whitespace - parse_edit_cmd: was returning a wrong number (too low) for the index; it was not accounting for backslashes eaten, for the fact that we start at the 3rd index in the string, or for the fact that we add an extra newline. - parse_cmd_str: was returning a wrong number (again, too low) for the index in the case of single-letter commands (p,d). There was some over-compensation for this in the 'return' stmt at the end which also needed some help. - load_cmd_file: was not eating trailing newlines off the line read from the command file. This had the deleterious effect of printing an extra newlines after text displayed from edit (i,a,c) commands.
Diffstat (limited to 'coreutils/rmdir.c')
0 files changed, 0 insertions, 0 deletions