aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyejin Kim <hj8296@gmail.com>2015-05-25 01:51:56 -0500
committerRob Landley <rob@landley.net>2015-05-31 12:12:35 -0500
commit42cc29c7883c852462c6c740c72eff06bca8accc (patch)
tree88a4c2a38e57b9589f52c57ab8f56befd7a77cf9
parent7c8a2f4adf8502ab2ca921944427e35cde069b6c (diff)
downloadtoybox-42cc29c7883c852462c6c740c72eff06bca8accc.tar.gz
On testing fold command, I found w option didnt check the range of value.
-rw-r--r--toys/pending/fold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/fold.c b/toys/pending/fold.c
index 80bb2413..0face64d 100644
--- a/toys/pending/fold.c
+++ b/toys/pending/fold.c
@@ -4,7 +4,7 @@
*
* See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/fold.html
-USE_FOLD(NEWTOY(fold, "bsuw#", TOYFLAG_USR|TOYFLAG_BIN))
+USE_FOLD(NEWTOY(fold, "bsuw#<1", TOYFLAG_USR|TOYFLAG_BIN))
config FOLD
bool "fold"