sbase

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

commit 88a6d6f97ec184440297a649490cd9e2b2290ff9
parent 761599ae61b8c9dfc1af047e502f62cbb7e55e53
Author: sin <sin@2f30.org>
Date:   Thu,  4 Dec 2014 12:14:20 +0000

State the reason for failure in readlink(1)

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

diff --git a/readlink.c b/readlink.c @@ -40,7 +40,7 @@ main(int argc, char *argv[]) usage(); if (strlen(argv[0]) > PATH_MAX - 1) - return 1; + eprintf("path too long\n"); if (fflag) { if (!realpath(argv[0], buf))