diff options
-rw-r--r-- | nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -372,7 +372,7 @@ xmemrchr(const void *s, uchar ch, size_t n) static char * xdirname(const char *path) { - static char buf[PATH_MAX]; + static char *buf = g_buf; static char *last_slash; xstrlcpy(buf, path, PATH_MAX); |