This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Parallel compilation of class files


On May 13, 2002, Mark Mitchell <mark@codesourcery.com> wrote:

> --On Wednesday, May 08, 2002 10:41:37 PM -0300 Alexandre Oliva
> <aoliva@redhat.com> wrote:

>> On May  8, 2002, Mark Mitchell <mark@codesourcery.com> wrote:
>> 
>>> !       temporary_file_name = xmalloc (strlen (class_file_name)
>>> ! 				     + strlen (".tmp") + 1);
>>> !       sprintf (temporary_file_name, "%s.tmp", class_file_name);
>> 
>> Consider using `concat (class_file_name, ".tmp");'

D'oh!  I'll never learn about the need for the trailing NULL.  Thanks
for catching that and pursuing the fix.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]