Sophie

Sophie

distrib > Mageia > 4 > i586 > media > core-release-src > by-pkgid > 232e963018a86d220a2d83cdf7de9a3d > files > 2

run-parts-4.4-2.mga4.src.rpm

Index: run-parts.8
===================================================================
--- run-parts.8
+++ run-parts.8	2012-01-30 00:01:14.755134182 +0100
@@ -34,7 +34,7 @@
 belong to one or more of the following namespaces: the
 LANANA-assigned namespace (^[a\-z0\-9]+$); the LSB hierarchical and
 reserved namespaces (^_?([a\-z0\-9_.]+\-)+[a\-z0\-9]+$);
-and the Debian cron script namespace (^[a\-zA-Z0\-9_\-]+$).
+and the Mageia cron script namespace (^[a\-zA-Z0\-9_\-][a\-zA-Z0\-9_\-.]+$).
 
 If the \-\-regex option is given, the names must match the custom
 extended regular expression specified as that option's argument.
Index: run-parts.c
===================================================================
--- run-parts.c
+++ run-parts.c	2012-01-29 23:59:38.827333446 +0100
@@ -564,7 +564,7 @@
                     != 0)
             pt_regex = &tradre;
 
-    } else if ( (err = regcomp(&classicalre, "^[a-zA-Z0-9_-]+$",
+    } else if ( (err = regcomp(&classicalre, "^[a-zA-Z0-9_-][.a-zA-Z0-9_-]+$",
                     REG_EXTENDED | REG_NOSUB)) != 0)
         pt_regex = &classicalre;