2003-04-02 Havoc Pennington <hp@redhat.com>
authorHavoc Pennington <hp@redhat.com>
Wed, 2 Apr 2003 21:52:38 +0000 (21:52 +0000)
committerHavoc Pennington <hp@redhat.com>
Wed, 2 Apr 2003 21:52:38 +0000 (21:52 +0000)
commit21cef58bc1b46ba4d5e7371463920c7744904d32
tree3032e5f6c1ba77c4f073a88fd9ca464c0babb76e
parent94790fef4a846ef2bed9bf1825c4c2b0ca7b8566
2003-04-02  Havoc Pennington  <hp@redhat.com>

* dbus/dbus-string.c (set_length): fix a bug - we allocated max of
current alloc and needed new length, not max of the doubled
allocation and needed new length. Also, when building tests,
don't do the double-allocation stuff, just realloc every time.
ChangeLog
dbus/dbus-string.c