use Config;
use Sys::Hostname;
+setlocale(&POSIX::LC_ALL, "C");
+
# ---------------------------------------------------------------------------
# configuration
# ---------------------------------------------------------------------------
$selecteddelayed = $1;
s,^DELAYED/[0-9]+-day/,,;
}
- if ( $origword eq "--searchdirs" ) {
+ if (m,(^|/)\*,) {
+ msg("mail,log", "$_: filename component cannot start with a wildcard\n");
+ } elsif ( $origword eq "--searchdirs" ) {
$selecteddelayed = -2;
} elsif (m,/,) {
msg(