projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c0396b
)
Fix for debian bug #248106, should use int for returned getopt value.
author
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 10 May 2004 08:59:17 +0000
(08:59 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 10 May 2004 08:59:17 +0000
(08:59 -0000)
editors/sed.c
patch
|
blob
|
history
diff --git
a/editors/sed.c
b/editors/sed.c
index df6a8b40db98640d5db5240edd3019346c5fc0fe..45cf7a7ad65ccce746958ad7968afdd1eec9b08c 100644
(file)
--- a/
editors/sed.c
+++ b/
editors/sed.c
@@
-1096,7
+1096,9
@@
static void add_cmd_block(char *cmdstr)
extern int sed_main(int argc, char **argv)
{
- char opt, getpat=1, status = EXIT_SUCCESS;
+ int opt;
+ char getpat=1;
+ char status = EXIT_SUCCESS;
#ifdef CONFIG_FEATURE_CLEAN_UP
/* destroy command strings on exit */