Re: [DMUSIC] Improve dmusic loading
Raphael <fenix(a)club-internet.fr> writes:
Changelog: - debugstr_DMUS_OBJECTDESC more readable (not more limited to the 200 characters of wine_dbg_sprintf)
You should make it a separate dumping function instead of returning a single string, if the info is too large. Using a static buffer is not thread-safe. -- Alexandre Julliard julliard(a)winehq.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 10 March 2004 02:21, Alexandre Julliard wrote:
Raphael <fenix(a)club-internet.fr> writes:
Changelog: - debugstr_DMUS_OBJECTDESC more readable (not more limited to the 200 characters of wine_dbg_sprintf)
Hi Alexandre,
You should make it a separate dumping function instead of returning a single string, if the info is too large. Using a static buffer is not thread-safe.
It's what i planned to do as this static buffer is an ugly idea. But as it will impact a lot of traces code i prefer to use a separated patch. Best Regards, Raphael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFATsuup7NA3AmQTU4RAgBoAJ0fO8LuSRIhpp3mjTr8c2dinyGKZQCbBxrC 1LaNXSuyeofv/6NBI83dzLI= =Rw1c -----END PGP SIGNATURE-----
participants (2)
-
Alexandre Julliard -
Raphael