This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch to use concat instead of xmalloc/sprintf for JAVA dir
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Patch to use concat instead of xmalloc/sprintf for JAVA dir
- From: Per Bothner <per at bothner dot com>
- Date: 22 Apr 2001 09:52:00 -0700
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- References: <200104221211.IAA17113@caip.rutgers.edu>
"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
> 2001-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> * jvspec.c (lang_specific_driver): Fix memory allocation
> deficit, by using concat in lieu of xmalloc/sprintf.
> Bootstrapped on solaris2.7, no regressions. Ok to install?
You have my blessing. One detail: I notice gcc.c uses NULL_PTR
rather than NULL for the terminating argument to concat. I don't
know which style is preferred.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/