--- main.c.ORIG 2007-06-13 18:25:11.000000000 +0200 +++ main.c 2007-06-13 19:53:30.248563000 +0200 @@ -904,7 +904,7 @@ /* see if pattern was supplied by user */ if (opts_count(opts, "T")) { template = fn_new(opts_optarg(opts, "T")); - pattern = glob_to_reglob(template); + pattern = template; } else { /* nope, generate pattern based on rotation template */ template = fn_new(opts_optarg(opts, "t")); @@ -914,7 +914,7 @@ } /* match all old log files (hopefully not any others as well!) */ - files = glob_reglob(pattern); + files = glob_glob(pattern); if (Debug) { char *buf;