projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c29c2e6
)
sort: move misplaced comment
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 4 Apr 2018 15:07:21 +0000
(17:07 +0200)
committer
Denys 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
patch
|
blob
|
history
diff --git
a/coreutils/sort.c
b/coreutils/sort.c
index b8bb6871d016722bc7a267afbadb369251b6908b..9909a44a8b661f8c86b97c99db36465ac9a51227 100644
(file)
--- a/
coreutils/sort.c
+++ b/
coreutils/sort.c
@@
-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 */