[netcf-devel] [PATCH 1/2] Use new function aug_fmt_match instead of printf+aug_match

Jonas Eriksson jonas.j.eriksson at ericsson.com
Thu Jul 23 08:01:26 UTC 2009


On Thu, Jul 23, 2009 at 07:13:45AM +0200 David Lutterkort wrote:
> In several places, we did an asprintf of some path and then an aug_match on
> the path; the new function aug_fmt_match makes that pattern a little
> easier.
> 
>   * src/dutil.h: add aug_fmt_match
>   * src/dutil.c: add aug_fmt_match
>   * src/drv_initscripts: use aug_fmt_match where possible
> ---
>  src/drv_initscripts.c |   61 +++++++++++++++---------------------------------
>  src/dutil.c           |   27 +++++++++++++++++++++
>  src/dutil.h           |    5 ++++
>  3 files changed, 51 insertions(+), 42 deletions(-)

Very good, ACK!

/Jonas

--
Jonas Eriksson
Consultant at AS/EAB/FLJ/IL
Combitech AB
Älvsjö, Sweden


More information about the netcf-devel mailing list