]> granicus.if.org Git - cronie/commitdiff
Save delimiters need more characters f.e. '_'.
authorMarcela Mašláňová <mmaslano@redhat.com>
Thu, 14 May 2009 08:08:36 +0000 (10:08 +0200)
committerMarcela Mašláňová <mmaslano@redhat.com>
Thu, 14 May 2009 08:08:36 +0000 (10:08 +0200)
Fix based on: http://bugs.gentoo.org/show_bug.cgi?id=197625

src/do_command.c

index cac5bb445ca2414dc1d0af35bdb24e5a52c46199..75d269abf38af1bd16ec8ba947b94e84c626d45d 100644 (file)
@@ -537,7 +537,7 @@ child_process(entry *e, user *u) {
 
 static int
 safe_p(const char *usernm, const char *s) {
-       static const char safe_delim[] = "@!:%-.,";     /* conservative! */
+       static const char safe_delim[] = "@!:%-.,_+";     /* conservative! */
        const char *t;
        int ch, first;