* util.hh (copy_str): New function similar to strdup().
commit10741851568275fadc2b74ef6b6ceef8f0be851a
authorrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Sep 2005 01:00:35 +0000 (11 01:00 +0000)
committerrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Sep 2005 01:00:35 +0000 (11 01:00 +0000)
treeac9c150bd64e1f78bc0c39bbaacbcf309bb9ae4f
parentc9e6aa1a6455f5a10a80608f864644f6aa195d6c
* util.hh (copy_str): New function similar to strdup().
* format/format.hh (~format_repr): delete memory pointed to by PLAN.
* format/format.cc (format_repr::format_repr): Use a duplicate string
for PLAN, not the original string.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcjx-branch@104136 138bc75d-0d04-0410-961f-82ee72b054a4
gcjx/ChangeLog
gcjx/format/format.cc
gcjx/format/format.hh
gcjx/util.hh