udev parse bug
There is a bug parsing PROGRAMs after apostrophes. Try PROGRAM="/bin/echo 'test test".
Signature · 4 lines
Harald Hoyer, Senior Software Engineer <[email protected]> gpg fingerprint E930 20E6 CCF8 C76C 8582 CF9F B7B7 45C2 C557 5542 http://harryh.homelinux.org http://people.redhat.com/harald Red Hat GmbH : http://www.redhat.de
namedev.c renamed from namedev.c.nsize +2 -2
@@ -433,9 +435,9 @@/* don't separate if in apostrophes */ pos++; argv[i] =strsep (&pos,"\'" ); -while (pos[0 ] ==' ' ) +while (pos && pos[0 ] ==' ' ) pos++; - }else { + }else { argv[i] =strsep (&pos," " ); }dbg ("arg[%i] '%s'" , i, argv[i]);
Greg KH
AppliedQuoted 2 lines · Harald Hoyer
There is a bug parsing PROGRAMs after apostrophes. Try PROGRAM="/bin/echo 'test test".
Applied, thanks.
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel