From abf6a75b428517d9caaf9155212b0b10e0379a99 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 24 May 2005 21:01:33 +0000 Subject: merge from gcc --- libiberty/pex-djgpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libiberty/pex-djgpp.c') diff --git a/libiberty/pex-djgpp.c b/libiberty/pex-djgpp.c index b452f46..6e58e3f 100644 --- a/libiberty/pex-djgpp.c +++ b/libiberty/pex-djgpp.c @@ -257,7 +257,7 @@ pex_djgpp_exec_child (struct pex_obj *obj, int flags, const char *executable, is the number of children which have executed before this one. */ statuses = (int *) obj->sysdep; - statuses = xrealloc (statuses, (obj->count + 1) * sizeof (int)); + statuses = XRESIZEVEC (int, statuses, obj->count + 1); statuses[obj->count] = status; obj->sysdep = (void *) statuses; -- cgit v1.1