Hi,

Here's a patch that I think makes sense for this.

It re-uses the separator that was parsed out of the line
when reconstructing it, rather than analysing the regex
used to split to get something equivalent.

I'm not really sure why it is re-writing these values when
they are unchanged, or at all for this operation really, but
I don't want to dig in to that.

This should avoid this problem in most cases that I can think
of.

My testing was to verify the bug in the old package by creating
a new user, then deleting the new user, restoring the file,
installing the fixed package and repeating the steps and then
confirming that there was the original spacing in the file.

Thanks,

James


** Attachment added: "system-tools-backends.diff"
   http://launchpadlibrarian.net/24982167/system-tools-backends.diff

-- 
conffile prompt on upgrade to jaunty
https://bugs.launchpad.net/bugs/316756
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to