The problem is in the xml writing code. When saving preferences, torcs does not replace entities properly, so that <, >, and & will all invalidate preferences.xml if used as controls. The attached patch writes the entities properly. The code to read entities was already in place.
** Attachment added: "debdiff including patch" http://librarian.launchpad.net/5808623/M4736.patch ** Changed in: torcs (Ubuntu) Assignee: Emmet Hikory => (unassigned) -- torcs b0rks preferences.xml and then crashes on it https://launchpad.net/bugs/4736 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
