#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

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to