summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ls.c')
-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)
{