From f56c34216a71a726e83be7b60ece955722359123 Mon Sep 17 00:00:00 2001
From: Per Cederqvist <ceder@lysator.liu.se>
Date: Sat, 24 Aug 1991 15:39:32 +0000
Subject: [PATCH] Use FILENAME_MAX, not 1024.

---
 src/server/simple-cache.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/server/simple-cache.c b/src/server/simple-cache.c
index dfd93897f..7519567c3 100644
--- a/src/server/simple-cache.c
+++ b/src/server/simple-cache.c
@@ -59,9 +59,9 @@ static Cache_node_mcb 	* text_mcb;
 static int		  next_text_num = 1;
 
 /* Defined in ramkomd.c */
-extern char datafilename[1024];
-extern char backupfilename[1024];
-extern char textfilename[1024];
+extern char datafilename[FILENAME_MAX];
+extern char backupfilename[FILENAME_MAX];
+extern char textfilename[FILENAME_MAX];
 
 /*
  * The elements in the following lists with same index refers to the same
-- 
GitLab