sort: move misplaced comment
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 4 Apr 2018 15:07:21 +0000 (17:07 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 4 Apr 2018 15:07:21 +0000 (17:07 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/sort.c

index b8bb6871d016722bc7a267afbadb369251b6908b..9909a44a8b661f8c86b97c99db36465ac9a51227 100644 (file)
@@ -560,6 +560,8 @@ int sort_main(int argc UNUSED_PARAM, char **argv)
                                }
                                prev_len = len;
                        }
+#else
+//TODO: lighter version which only drops total dups if can_drop_dups == true
 #endif
                        lines = xrealloc_vector(lines, 6, linecount);
                        lines[linecount++] = line;
@@ -582,8 +584,6 @@ int sort_main(int argc UNUSED_PARAM, char **argv)
                }
                return EXIT_SUCCESS;
        }
-#else
-//TODO: lighter version which only drops total dups if can_drop_dups == true
 #endif
 
        /* For stable sort, store original line position beyond terminating NUL */