aboutsummaryrefslogtreecommitdiff
path: root/coreutils/sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r--coreutils/sort.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c
index ce51bc178..b56a5abb8 100644
--- a/coreutils/sort.c
+++ b/coreutils/sort.c
@@ -156,7 +156,7 @@ static int compare_keys(const void *xarg, const void *yarg)
156 156
157#ifdef CONFIG_FEATURE_SORT_BIG 157#ifdef CONFIG_FEATURE_SORT_BIG
158 struct sort_key *key; 158 struct sort_key *key;
159 159
160 for(key=key_list;!retval && key;key=key->next_key) { 160 for(key=key_list;!retval && key;key=key->next_key) {
161 flags=(key->flags) ? key->flags : global_flags; 161 flags=(key->flags) ? key->flags : global_flags;
162 /* Chop out and modify key chunks, handling -dfib */ 162 /* Chop out and modify key chunks, handling -dfib */
@@ -312,7 +312,7 @@ int sort_main(int argc, char **argv)
312#ifdef CONFIG_FEATURE_SORT_BIG 312#ifdef CONFIG_FEATURE_SORT_BIG
313 /* if no key, perform alphabetic sort */ 313 /* if no key, perform alphabetic sort */
314 if(!key_list) add_key()->range[0]=1; 314 if(!key_list) add_key()->range[0]=1;
315 /* handle -c */ 315 /* handle -c */
316 if(global_flags&FLAG_c) { 316 if(global_flags&FLAG_c) {
317 int j=(global_flags&FLAG_u) ? -1 : 0; 317 int j=(global_flags&FLAG_u) ? -1 : 0;
318 for(i=1;i<linecount;i++) 318 for(i=1;i<linecount;i++)