Browse Source

Use enough buffer length for file names

master
Arun Prakash Jana 4 years ago
parent
commit
c434d8d4bc
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c View File

@@ -130,7 +130,7 @@
#define ISBLANK(x) ((x) == ' ' || (x) == '\t')
#define TOUPPER(ch) (((ch) >= 'a' && (ch) <= 'z') ? ((ch) - 'a' + 'A') : (ch))
#define CMD_LEN_MAX (PATH_MAX + ((NAME_MAX + 1) << 1))
#define READLINE_MAX 128
#define READLINE_MAX 256
#define FILTER '/'
#define RFILTER '\\'
#define CASE ':'


Loading…
Cancel
Save