k9core

Unnamed repository
Log | Files | Refs | LICENSE

commit d4eb349c685759fdc6fda353ff6f14834ba1bc53
parent d2c5b8a805d1b5977503c5db8e55e6c716037ed0
Author: call-cc <callcc@vxempire.xyz>
Date:   Mon,  1 Jun 2020 18:07:37 -0400

Make dirname more posix compliant

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

diff --git a/src/dirname.c b/src/dirname.c @@ -8,6 +8,6 @@ main(int argc, char *argv[]) { fprintf(stderr, "%s", argv[0]); return 1; } - puts(dir); + printf("%s/\n", dir); /* Trailing slash because POSIX */ return 0; }