aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-07-20 19:07:27 +0000
committerpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-07-20 19:07:27 +0000
commite6c9550eb83a571248291f601147eed44901bc8f (patch)
tree90c7d69bc7ef568d4dcc480a9e3f74d1329ff382
parent79d01a9ffb88ad8da2b547b7413e65ca7ea6d767 (diff)
downloadbusybox-w32-e6c9550eb83a571248291f601147eed44901bc8f.tar.gz
busybox-w32-e6c9550eb83a571248291f601147eed44901bc8f.tar.bz2
busybox-w32-e6c9550eb83a571248291f601147eed44901bc8f.zip
applying patch from:
0000227: sort use wrong type for getopt return variable git-svn-id: svn://busybox.net/trunk/busybox@10879 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--coreutils/sort.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c
index 73505e365..6d8a55245 100644
--- a/coreutils/sort.c
+++ b/coreutils/sort.c
@@ -239,7 +239,8 @@ int sort_main(int argc, char **argv)
239{ 239{
240 FILE *fp,*outfile=NULL; 240 FILE *fp,*outfile=NULL;
241 int linecount=0,i,flag; 241 int linecount=0,i,flag;
242 char *line,**lines=NULL,c,*optlist="ngMucszbrdfimS:T:o:k:t:"; 242 char *line,**lines=NULL,*optlist="ngMucszbrdfimS:T:o:k:t:";
243 int c;
243 244
244 bb_default_error_retval = 2; 245 bb_default_error_retval = 2;
245 /* Parse command line options */ 246 /* Parse command line options */