From: Thibault Godouet Date: Sun, 25 Aug 2002 17:26:45 +0000 (+0000) Subject: FNAME_LEN replaced by PATH_LEN X-Git-Tag: ver2_9_4~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31b9c79ac0ffc42ee6458890b68edcf262822b0a;p=thirdparty%2Ffcron.git FNAME_LEN replaced by PATH_LEN --- diff --git a/config.h.in b/config.h.in index ff5e170..c4d3c00 100644 --- a/config.h.in +++ b/config.h.in @@ -21,7 +21,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: config.h.in,v 1.43 2002-08-10 20:41:11 thib Exp $ */ + /* $Id: config.h.in,v 1.44 2002-08-25 17:26:45 thib Exp $ */ /* *********************************************************** */ @@ -97,11 +97,14 @@ #define MAXENTRIES 256 /* max lines in non-root fcrontabs */ #define LINE_LEN 1024 /* max line length in user's config file */ -#define FNAME_LEN 512 /* max length of a file name */ #define USER_NAME_LEN 128 /* max length of a user name */ -#define PATH_LEN 256 /* max length of a file path */ +#define PATH_LEN 512 /* max length of a file path */ #define SOCKET_MSG_LEN 20 /* max length of a socket msg (fcrondyn) */ +/* WARNING : do not set this too low, or add some more tests in print_field, print_line, + * etc ... */ +#define TERM_LEN 196 /* max nb of char in a term line */ + #define MAX_MSG 150 /* max length of a log message */