[augeas-devel] [PATCH 0 of 2] Fix insertion before first child

David Lutterkort dlutter at redhat.com
Thu Jul 17 04:06:30 UTC 2008


This fixes a bug reported by Raphael Pinson: when you insert a node which
becomes the new first child of its parent, the current code just dropped
the new node on the floor, and leaked it into Nirvana.

4 files changed, 104 insertions(+), 9 deletions(-)
src/augeas.c                    |   21 ++++++++++------
src/builtin.c                   |   40 +++++++++++++++++++++++++++++++
src/internal.h                  |    2 +
tests/modules/pass_ins_test.aug |   50 ++++++++++++++++++++++++++++++++++++++-




More information about the augeas-devel mailing list