[augeas-devel] [Augeas] #239: Single-character paths fail with dump-xml

Augeas trac at fedorahosted.org
Mon Dec 5 10:08:12 UTC 2011


#239: Single-character paths fail with dump-xml
---------------------+------------------------------------------------------
 Reporter:  raphink  |       Owner:  lutter
     Type:  defect   |      Status:  new   
 Priority:  minor    |   Milestone:  next  
Component:  Augeas   |     Version:  devel 
 Keywords:           |  
---------------------+------------------------------------------------------
 When using single-character paths (such as `.` or `1` with
 `/augeas/context` set), `dump-xml` returns the contents of `/*`. This is
 because of augeas.c, line 1640:

 {{{
     if (pathin == NULL || strlen(pathin) == 1) {
         pathin = "/*";
     }
 }}}

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/239>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list