[git commit] sort: move misplaced comment

Denys Vlasenko vda.linux at googlemail.com
Wed Apr 4 15:07:21 UTC 2018


commit: https://git.busybox.net/busybox/commit/?id=759ca8a4cb57f797e92e02db84673057ce447125
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 coreutils/sort.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/coreutils/sort.c b/coreutils/sort.c
index b8bb6871d..9909a44a8 100644
--- 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 */


More information about the busybox-cvs mailing list