[augeas-devel] Prototype of square lens

Francis Giraldeau Francis.Giraldeau at USherbrooke.ca
Sat May 29 21:25:23 UTC 2010


Hi,

Here is a small patch that add the new primitive square lens with test.

The get and put directions are working. The square lens is limited to a
static string body. This has to be changed for a lens body. Also, the
typecheck is not done properly yet.

There is some cleanup to do, since there is a lot of debug output.
Valgrind reports no leaks for the test.

Since this is the first lens primitive to take a lens as an argument, I
don't know how to handle the case in lns_square. Should I add a third
argument to functions that build primitive lenses?

Francis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ADD-basic-square-lens-with-static-string-inner-body.patch
Type: text/x-diff
Size: 11461 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20100529/8de7fb58/attachment.bin>


More information about the augeas-devel mailing list