]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/ChangeLog
argv.c (dupargv): Mallocate space of argv[argc], not sizeof(char *) of that amuont.
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Wed, 13 Apr 2005 13:49:19 +0000 (13:49 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Wed, 13 Apr 2005 13:49:19 +0000 (13:49 +0000)
commit0e0af50b89e2e3699a6bb2514c58b5fe299a8dd6
tree366abab19a5e97877d75d15f951a832934d69261
parent5782c29da33d99bb3b5ebb80612f0f52f5c9e398
argv.c (dupargv): Mallocate space of argv[argc], not sizeof(char *) of that amuont.

* argv.c (dupargv): Mallocate space of argv[argc], not
sizeof(char *) of that amuont.  Cast result to char *.

From-SVN: r98083
libiberty/ChangeLog
libiberty/argv.c