Commit f56c3421 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use FILENAME_MAX, not 1024.

parent 9475db02
...@@ -59,9 +59,9 @@ static Cache_node_mcb * text_mcb; ...@@ -59,9 +59,9 @@ static Cache_node_mcb * text_mcb;
static int next_text_num = 1; static int next_text_num = 1;
/* Defined in ramkomd.c */ /* Defined in ramkomd.c */
extern char datafilename[1024]; extern char datafilename[FILENAME_MAX];
extern char backupfilename[1024]; extern char backupfilename[FILENAME_MAX];
extern char textfilename[1024]; extern char textfilename[FILENAME_MAX];
/* /*
* The elements in the following lists with same index refers to the same * The elements in the following lists with same index refers to the same
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment