*: optimize most of isXXXXX() macros
text data bss dec hex filename 824164 453 6812 831429 cafc5 busybox_old 823730 453 6812 830995 cae13 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
7b4cd6f7b0
commit
f2cbb03a37
7 changed files with 33 additions and 23 deletions
|
@ -460,7 +460,7 @@ read_line(const char *prompt)
|
|||
line_buffer[--sz] = '\0';
|
||||
|
||||
line_ptr = line_buffer;
|
||||
while (*line_ptr && !isgraph(*line_ptr))
|
||||
while (*line_ptr != '\0' && (unsigned char)*line_ptr <= ' ')
|
||||
line_ptr++;
|
||||
return *line_ptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue