** Changed in: torcs (Debian)
Status: Unconfirmed = Fix Released
--
torcs b0rks preferences.xml and then crashes on it
https://launchpad.net/bugs/4736
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
** Changed in: torcs (Debian)
Status: Unknown = Unconfirmed
--
torcs b0rks preferences.xml and then crashes on it
https://launchpad.net/bugs/4736
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Format: 1.7
Date: Mon, 22 Jan 2007 16:13:31 +0900
Source: torcs
Binary: torcs
Architecture: source
Version: 1.2.4-2ubuntu1
Distribution: feisty
Urgency: low
Maintainer: Rudy Godoy [EMAIL PROTECTED]
Changed-By: Emmet Hikory [EMAIL PROTECTED]
Built on all architectures.
** Changed in: torcs (Ubuntu)
Status: Fix Committed = Fix Released
--
torcs b0rks preferences.xml and then crashes on it
https://launchpad.net/bugs/4736
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
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
This diff uses strncmp for the comparison, as suggested by Steve
Kowalik. This should reduce the resource usage when writing out
preferences.xml.
** Attachment added: updated debdiff
http://librarian.launchpad.net/5808654/M4736.patch
--
torcs b0rks preferences.xml and then crashes on it
The attached debdiff further enhances the entity handling, in that it
now supports all required entities, so the torcs XML processor is that
much closer to compliant. A better fix would be to use an XML
serialisation library.
** Attachment added: debdiff with more entities
** Changed in: torcs (Ubuntu)
Assignee: Motu Games Team = Emmet Hikory
--
torcs b0rks preferences.xml and then crashes on it
https://launchpad.net/bugs/4736
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs