← Commit list

759ca8a4c

Denys Vlasenko
Denys Vlasenko
2018-04-04
SUCCESS Duration: 144s

Subject

sort: move misplaced comment

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/sort.c+2 -2
@@ -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 */