This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] patch for TTYNAM function
- From: Richard Henderson <rth at redhat dot com>
- To: FX Coudert <fxcoudert at gmail dot com>
- Cc: patch <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Fri, 4 Nov 2005 16:19:55 -0800
- Subject: Re: [gfortran] patch for TTYNAM function
- References: <436BF20F.3030601@gmail.com>
On Sat, Nov 05, 2005 at 12:43:11AM +0100, FX Coudert wrote:
> +#ifdef HAVE_STRING_H
> #include <string.h>
> +#endif
Why?
> + *name = __builtin_strdup (*name);
...
> - return malloc (*size);
> + return __builtin_malloc (*size);
Definitely not.
I'm not in favour of supporting pre-iso systems. There are
really just too many problems there.
r~