printf: fix handling of old printf extension specifiers for ABI compatibility
authorTim-Philipp Müller <tim@centricular.net>
Wed, 17 Apr 2013 23:44:32 +0000 (00:44 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 17 Apr 2013 23:46:58 +0000 (00:46 +0100)
commite8a9f7acdf8ee5955415f4799c38dac7a944adaf
treecd18120babd9075ea2515cf3c1567fca660633bb
parentc398c842f50c605108e50408d265c58192e98552
printf: fix handling of old printf extension specifiers for ABI compatibility

Fixes abort when the old specifiers are used. Fix up the conversion
specifier, it would get overwritten with 'c' below to the extension
format char, which then later is unhandled, leading to the abort.
Also fix up and enable unit test for this.

https://bugzilla.gnome.org/process_bug.cgi
gst/printf/printf-parse.c
tests/check/gst/gstinfo.c