This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [libgfortran,patch] MinGW wrapper for getlogin, gethostname and getpid functions


On Sat, Sep 24, 2005 at 02:46:27PM +0200, FX Coudert wrote:
> +  p = gfc_alloca (dum);
> +  GetUserName (p, &dum);
> +  return p;

Returning alloca memory?  Badness.


r~


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