Ответ: MDEV: regexps

Vladimir Dronnikov dronnikov at gmail.com
Sat Mar 29 00:18:50 PDT 2008


+1 octet is not very big price for increased usability. Or it _is_, Mike?

do compare the lengths:

xchdir("/dev"); ... xfopen("/etc/mdev.conf")
xchdir("dev"); ... xfopen("../etc/mdev.conf")

--
Vladimir


2008/3/29, Mike Frysinger <vapier at gentoo.org>:
> On Thursday 27 March 2008, dronnikov at gmail.com wrote:
> > So I decided to split the whole patch: attached is the first part which
> > adds regexp substitution in rename clause and nothing more.
>
> please update to current trunk and use C if's rather than CPP #if's, and use
> C
> style comments rather than C++.  then i'll look at merging it as this
> version
> is much cleaner than the original.
>
> if (ENABLE_...) {
> 	/* do regex stuff */
> } else {
> 	/* dont do regex stuff */
> }
> -mike
>


More information about the busybox mailing list