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:
5dc0cee
)
applying patch from:
author
Paul Fox
<pgf@brightstareng.com>
Wed, 20 Jul 2005 19:07:27 +0000
(19:07 -0000)
committer
Paul Fox
<pgf@brightstareng.com>
Wed, 20 Jul 2005 19:07:27 +0000
(19:07 -0000)
0000227
: sort use wrong type for getopt return variable
coreutils/sort.c
patch
|
blob
|
history
diff --git
a/coreutils/sort.c
b/coreutils/sort.c
index 73505e365e453b54ef4e21ab2f8328c40f288644..6d8a552454ac034b1dbdd217d4286d9310feebcf 100644
(file)
--- a/
coreutils/sort.c
+++ b/
coreutils/sort.c
@@
-239,7
+239,8
@@
int sort_main(int argc, char **argv)
{
FILE *fp,*outfile=NULL;
int linecount=0,i,flag;
- char *line,**lines=NULL,c,*optlist="ngMucszbrdfimS:T:o:k:t:";
+ char *line,**lines=NULL,*optlist="ngMucszbrdfimS:T:o:k:t:";
+ int c;
bb_default_error_retval = 2;
/* Parse command line options */