From: Marcela Mašláňová Date: Fri, 18 Feb 2011 14:20:47 +0000 (+0100) Subject: mkstemp needs only 6 X's X-Git-Tag: cronie1.4.7~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09e4829fddd916f4deec7c27c0b0eec67dde1157;p=cronie mkstemp needs only 6 X's --- diff --git a/src/crontab.c b/src/crontab.c index d903407..1a91dfc 100644 --- a/src/crontab.c +++ b/src/crontab.c @@ -462,7 +462,7 @@ static void edit_cmd(void) { (void) signal(SIGQUIT, SIG_IGN); if (!glue_strings(Filename, sizeof Filename, tmp_path(), - "crontab.XXXXXXXXXX", '/')) { + "crontab.XXXXXX", '/')) { fprintf(stderr, "path too long\n"); exit(ERROR_EXIT); }