nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 76d600b072cfacb8093f47e42f81c896e8c0aeda
parent be8e9d5213db10deb02f41c4c43651f1767125b7
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Mon,  3 Jul 2017 18:09:11 +0530

Use the global buffer

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

diff --git a/nnn.c b/nnn.c @@ -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);