This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] Reduce ridiculous stack use in _dl_map_object_deps


> +	  int new_size;

size_t

> +	  if (new_size > needed_space_bytes)
> +	    {
> +	      needed_space
> +		= (struct link_map **) extend_alloca (needed_space,
> +						      needed_space_bytes,
> +						      new_size);
> +	    }

No braces around a single statement.  No cast required on extend_alloca.
It returns the type of its first argument.


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