sbase

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

commit a51b01ff90abba93a98f6d962500fcc956bdac2e
parent d04402b6eab409cb37955429ee8a33b45fb2e4dd
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;