summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-10-13 20:50:40 +0000
committerJim Meyering <jim@meyering.net>2003-10-13 20:50:40 +0000
commitae2e1ea1dc519d5ccee46daa8e6a884ddbf2727d (patch)
tree4545633350947a866d84cbd092cbb20cc9ff82be
parent1b1fc9b9eec9f3f11d44633d84141dbc00ea62e9 (diff)
downloadcoreutils-ae2e1ea1dc519d5ccee46daa8e6a884ddbf2727d.tar.xz
(init_column_info): Add another FIXME comment.
-rw-r--r--src/ls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ls.c b/src/ls.c
index c172d765d..8a28fd5d8 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -3722,6 +3722,8 @@ attach (char *dest, const char *dirname, const char *name)
*dest = 0;
}
+/* FIXME: this code allocates allocates O(N^2) space when ls is invoked
+ with `--width=N' and -x or -C. Either fix that or limit N. */
static void
init_column_info (void)
{