sbase

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

commit 61247e3595d0684b3b311b87d54c2e8c74ecd5be
parent afb1f0ead09220cdb3d566b3fdb8ba0304c50f2b
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Fri Jun 10 14:51:53 +0100

tail: gcc whines
Diffstat:
tail.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tail.c b/tail.c @@ -58,7 +58,7 @@ taketail(FILE *fp, const char *str, long n) { char **ring; long i, j; - size_t *size; + size_t *size = NULL; if(!(ring = calloc(n, sizeof *ring)) || !(size = calloc(n, sizeof *size))) eprintf("calloc:");