diff options
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r-- | coreutils/sort.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c index 0cbb6f597..9ff777851 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c | |||
@@ -380,7 +380,9 @@ static int compare_keys(const void *xarg, const void *yarg) | |||
380 | 380 | ||
381 | /* If x > y, 1, else -1 */ | 381 | /* If x > y, 1, else -1 */ |
382 | retval = (x32 > y32) * 2 - 1; | 382 | retval = (x32 > y32) * 2 - 1; |
383 | } else | 383 | /* Here, -r has no effect! */ |
384 | return retval; | ||
385 | } | ||
384 | if (!(option_mask32 & FLAG_no_tie_break)) { | 386 | if (!(option_mask32 & FLAG_no_tie_break)) { |
385 | /* fallback sort */ | 387 | /* fallback sort */ |
386 | flags = option_mask32; | 388 | flags = option_mask32; |