applying patch from:
0000227: sort use wrong type for getopt return variable
This commit is contained in:
parent
5dc0ceeb9e
commit
379ac89c30
@ -239,7 +239,8 @@ int sort_main(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
FILE *fp,*outfile=NULL;
|
FILE *fp,*outfile=NULL;
|
||||||
int linecount=0,i,flag;
|
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;
|
bb_default_error_retval = 2;
|
||||||
/* Parse command line options */
|
/* Parse command line options */
|
||||||
|
Loading…
Reference in New Issue
Block a user