sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 274f9eaf421d92046ab2a63b3f6e5f097967f7b2
parent 7264acf7edaa2e90105b9220f500e3d596b5c552
Author: noname <noname@inventati.org>
Date:   Sun, 22 Feb 2015 19:37:48 +0000

Replace strlen with unary_n to test zero length.

Diffstat:
Mtest.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test.c b/test.c @@ -100,7 +100,7 @@ noarg(char **argv) static int onearg(char **argv) { - return strlen(argv[0]); + return unary_n(argv[0]); } static int