Take advantage of rpmtdGetNumber() for numeric format specifiers
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 17 Nov 2008 10:23:19 +0000 (12:23 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 17 Nov 2008 10:23:19 +0000 (12:23 +0200)
commitee6c147a239feb6a5587758b19192f274bd0a529
treec1d27b65f0ea61ecfd9627c3114f99988a6aa80f
parentd97e357560ad9111b95da9bf2126a7bde3b4bac1
Take advantage of rpmtdGetNumber() for numeric format specifiers
- octalFormat() and hexFormat() now work for any number, not just int32,
  fixing rhbz#471820
- use a common helper-function for both formats, they only differ by o/x
lib/formats.c