]> granicus.if.org Git - cronie/commitdiff
mkstemp needs only 6 X's
authorMarcela Mašláňová <mmaslano@redhat.com>
Fri, 18 Feb 2011 14:20:47 +0000 (15:20 +0100)
committerMarcela Mašláňová <mmaslano@redhat.com>
Mon, 21 Feb 2011 12:23:55 +0000 (13:23 +0100)
src/crontab.c

index d9034079b19342540a1b1d3a8f6f6981401ddd81..1a91dfc0a940940d46929f2f0982bd0211c1439b 100644 (file)
@@ -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);
        }