nnn

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

commit c373b4b2793ad0b3719bba9d1a62bb4fe428885e
parent afdfcecb9c757eb52be34f854947de48fd437447
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Fri,  5 Jul 2019 07:42:52 +0530

Fix #301

Diffstat:
Msrc/nnn.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -2420,7 +2420,9 @@ static char *get_output(char *buf, const size_t bytes, const char *file, static bool getutil(const char *util) { - if (!get_output(g_buf, CMD_LEN_MAX, "which", util, NULL, FALSE)) + char buf[8]; + + if (!get_output(buf, 8, "which", util, NULL, FALSE)) return FALSE; return TRUE;