CVS update [cvs1-11-x-branch]: /ccvs/windows-NT/

[email protected] 28 May 2005 08:39:07 -0000
Newsgroups gmane.comp.version-control.cvs.cvs
Message-ID <[email protected]>
Tag: cvs1-11-x-branch
User: conradpino
Date: 05/05/28 01:39:07

Modified:
 /ccvs/windows-NT/
  ChangeLog, run.c

Log:
 * run.c: Substitute "xrealloc" function for "xnrealloc" call from
 "run_add_arg_p" function.

File Changes:

Directory: /ccvs/windows-NT/
============================

File [changed]: ChangeLog
Url: https://ccvs.cvshome.org/source/browse/ccvs/windows-NT/ChangeLog?r1=1.158.2.35&r2=1.158.2.36
Delta lines:  +5 -0
-------------------
--- ChangeLog	28 May 2005 08:35:28 -0000	1.158.2.35
+++ ChangeLog	28 May 2005 08:39:05 -0000	1.158.2.36
@@ -1,5 +1,10 @@
 2005-05-28  Conrad T. Pino  <[email protected]>
 
+	* run.c: Substitute "xrealloc" function for "xnrealloc" call from
+	"run_add_arg_p" function.
+
+2005-05-28  Conrad T. Pino  <[email protected]>
+
 	* run.c: Import feature branch revision 1.21 which defines the
 	"run_add_arg_p" and "run_arg_free_p" functions.
 	FIXME: Function "xnrealloc" call from "run_add_arg_p" undefined.

File [changed]: run.c
Url: https://ccvs.cvshome.org/source/browse/ccvs/windows-NT/run.c?r1=1.16.8.3&r2=1.16.8.4
Delta lines:  +1 -1
-------------------
--- run.c	28 May 2005 08:35:28 -0000	1.16.8.3
+++ run.c	28 May 2005 08:39:05 -0000	1.16.8.4
@@ -123,7 +123,7 @@
     if (*iargc >= *iarg_allocated)
     {
 	*iarg_allocated += 50;
-	*iargv = xnrealloc (*iargv, *iarg_allocated, sizeof (char **));
+	*iargv = xrealloc (*iargv, *iarg_allocated * sizeof (char **));
     }
 
     if (s)