This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [gfortran] patch for TTYNAM function


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~


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