mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Use enough buffer length for file names
This commit is contained in:
parent
cb6f30fed4
commit
c434d8d4bc
|
@ -130,7 +130,7 @@
|
||||||
#define ISBLANK(x) ((x) == ' ' || (x) == '\t')
|
#define ISBLANK(x) ((x) == ' ' || (x) == '\t')
|
||||||
#define TOUPPER(ch) (((ch) >= 'a' && (ch) <= 'z') ? ((ch) - 'a' + 'A') : (ch))
|
#define TOUPPER(ch) (((ch) >= 'a' && (ch) <= 'z') ? ((ch) - 'a' + 'A') : (ch))
|
||||||
#define CMD_LEN_MAX (PATH_MAX + ((NAME_MAX + 1) << 1))
|
#define CMD_LEN_MAX (PATH_MAX + ((NAME_MAX + 1) << 1))
|
||||||
#define READLINE_MAX 128
|
#define READLINE_MAX 256
|
||||||
#define FILTER '/'
|
#define FILTER '/'
|
||||||
#define RFILTER '\\'
|
#define RFILTER '\\'
|
||||||
#define CASE ':'
|
#define CASE ':'
|
||||||
|
|
Loading…
Reference in a new issue