Martin Pitt [2015-02-12 19:52 +0100]:
> Lennart Poettering [2015-02-12 18:50 +0100]:
> > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=090d25fe224c0
> > 
> > Looks simple enough. Though I wonder if [0-9] is the right match,
> > shouldn't it also cover multiple numbers there?
> 
> Hm, yes. fnmatch() doesn't support a regexp-like "one or more digits";
> it's less precise, but as the kernel doesn't generate arbitrary device
> names but at most things like "mmcblk0p1", extending the glob to
> mmcblk[0-9]*rpmb is actually safe.

Pushed now with this change:

  http://cgit.freedesktop.org/systemd/systemd/commit/?id=b87b01c

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to