X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=fixincludes%2Ffixlib.c;h=cc335f5659a16713a2c2dfec405d06e5fea3ab00;hb=d2154397e1e24a7880808dfe1ababe1a45024776;hp=e56328b162191582690a9712fee7fd5c60f49f8b;hpb=4f80d25b87fcbbec22e05d3894d0e6e47b2f1163;p=pf3gnuchains%2Fgcc-fork.git diff --git a/fixincludes/fixlib.c b/fixincludes/fixlib.c index e56328b1621..cc335f5659a 100644 --- a/fixincludes/fixlib.c +++ b/fixincludes/fixlib.c @@ -19,8 +19,8 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. */ #include "fixlib.h" @@ -48,7 +48,7 @@ load_file_data (FILE* fp) if (space_left < 1024) { space_left += 4096; - pz_data = xrealloc (pz_data, space_left + space_used + 1 ); + pz_data = XRESIZEVEC (char, pz_data, space_left + space_used + 1 ); } size_read = fread (pz_data + space_used, 1, space_left, fp); @@ -72,7 +72,7 @@ load_file_data (FILE* fp) space_used += size_read; } while (! feof (fp)); - pz_data = xrealloc (pz_data, space_used+1 ); + pz_data = XRESIZEVEC (char, pz_data, space_used+1 ); pz_data[ space_used ] = NUL; return pz_data;