sbase

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

commit f90e1579dcce214804ad8c71920fcfcf8648f691
parent 7d6d11493afd8a6c8a30e777f4a8d2a72e10f1c3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue Mar  1 12:43:06 +0100

uudecode: dont return pointer to local variable

Diffstat:
uudecode.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/uudecode.c b/uudecode.c @@ -38,7 +38,7 @@ tropen: static void parseheader(FILE *fp, const char *s, char **header, mode_t *mode, char **fname) { - char bufs[PATH_MAX + 18]; /* len header + mode + maxname */ + static char bufs[PATH_MAX + 18]; /* len header + mode + maxname */ char *p, *q; size_t n;