diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-07 19:24:21 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-07 19:24:21 +0000 |
commit | 4cde7cf5f8ab082ad1851e93dc951fbaa36f8d74 (patch) | |
tree | fffcbab467fc1b016a4ab3c83720590b4aa68c2f /sys-devel/gcc-config | |
parent | ~amd64 (diff) | |
download | gentoo-2-4cde7cf5f8ab082ad1851e93dc951fbaa36f8d74.tar.gz gentoo-2-4cde7cf5f8ab082ad1851e93dc951fbaa36f8d74.tar.bz2 gentoo-2-4cde7cf5f8ab082ad1851e93dc951fbaa36f8d74.zip |
Fix comment.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-devel/gcc-config')
-rw-r--r-- | sys-devel/gcc-config/files/wrapper-1.4.5.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-devel/gcc-config/files/wrapper-1.4.5.c b/sys-devel/gcc-config/files/wrapper-1.4.5.c index 5edc6450cbee..6ae21342c8f6 100644 --- a/sys-devel/gcc-config/files/wrapper-1.4.5.c +++ b/sys-devel/gcc-config/files/wrapper-1.4.5.c @@ -1,7 +1,7 @@ /* * Copyright 1999-2004 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/wrapper-1.4.5.c,v 1.2 2005/01/31 06:16:58 eradicator Exp $ + * $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/wrapper-1.4.5.c,v 1.3 2005/02/07 19:24:21 eradicator Exp $ * Author: Martin Schlemmer <azarah@gentoo.org> */ @@ -301,10 +301,9 @@ static char **getNewArgv(char **argv, const char *newflagsStr) { } } - /* Allocate our array */ + /* Allocate our array Make room for the original, new ones, and the + NULL terminator */ newargv = (char **)malloc(sizeof(char *) * (argc + newflagsCount + 1)); - - /* Make room for the original, new ones, and the NULL terminator */ if(!newargv) return NULL; |