|Summary:||ASTERISK-12544: updateconfig adding lots of unnecessary new lines randomly inbetween lines and contexts|
|Reporter:||Pari Nannapaneni (pari)||Labels:|
|Date Opened:||2008-08-08 12:56:22||Date Closed:||2008-11-18 14:05:27.000-0600|
|Environment:||Attachments:||( 0) newline.patch|
|Description:||updateconfig adding lots of unnecessary new lines randomly inbetween lines and contexts. So the more edits you make in the gui, the more weired the file gets.|
****** ADDITIONAL INFORMATION ******
Happens in latest 1.6.0 and latest trunk
|Comments:||By: Ryan Brindley (rbrindley) 2008-11-12 16:20:43.000-0600|
after looking at the code, it appears that there was an unnecessary function most likely left over from the rewrite to add newlines. newline.patch (against -r156388) just removes that function and its subs.
It now appears that Asterisk only (properly) preserves blank lines if comments before a category exist.
By: Jason Parker (jparker) 2008-11-18 14:04:58.000-0600
Closing this as a duplicate of 13420.
By: Ryan Brindley (rbrindley) 2008-11-18 14:05:27.000-0600
related to http://bugs.digium.com/view.php?id=13420 which was closed earlier today with a patch from murf.