From 4498b2298ecd14f933133e555a06f90c8a9640ab Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 7 Nov 2019 22:32:37 -0500 Subject: Include path in readlinkat error --- bounce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bounce.c b/bounce.c index 5f615aa..407dd44 100644 --- a/bounce.c +++ b/bounce.c @@ -107,7 +107,7 @@ struct SplitPath { static bool linkTarget(char *target, size_t cap, int dir, const char *file) { ssize_t len = readlinkat(dir, file, target, cap - 1); if (len < 0 && errno == EINVAL) return false; - if (len < 0) err(EX_IOERR, "readlinkat"); + if (len < 0) err(EX_NOINPUT, "%s", file); target[len] = '\0'; return true; } -- cgit 1.4.1 hes'> dontfiles
summary refs log tree commit diff
path: root/bin/README (unfollow)
Commit message (Expand)Author
2018-04-01Add HSV output to schemeJune McEnroe
2018-03-31Output Linux console escapes from schemeJune McEnroe
2018-03-31Add scheme to READMEJune McEnroe
2018-03-31Brighten color schemeJune McEnroe
2018-03-31Set Dark terminal to schemeJune McEnroe
2018-03-31Lighten cursor colorJune McEnroe
2018-03-31Tweak cyan furtherJune McEnroe
2018-03-31Tweak colors in schemeJune McEnroe
2018-03-31Add scheme.png targetJune McEnroe
2018-03-31Generate Terminal.app color schemeJune McEnroe
2018-03-31Generate basic ANSI color schemeJune McEnroe
2018-03-31Add hex output to schemeJune McEnroe
2018-03-31Add color scheme PNG generatorJune McEnroe
2018-03-31Simplify gfxx palette generationJune McEnroe
2018-03-31Switch to HSV for gfxx palette generationJune McEnroe
2018-03-30Generate default palette in gfxxJune McEnroe
2018-03-30Ignore build and cloneJune McEnroe
2018-03-30Set g:clipboard to pb{copy,paste} alwaysJune McEnroe
2018-03-28Add d-_-b crateJune McEnroe