Use size_t instead of int for internal variables in glob (bug 14621)

Carlos O'Donell carlos_odonell@mentor.com
Thu Sep 27 19:45:00 GMT 2012


On 9/27/2012 2:36 PM, Joseph S. Myers wrote:
> And here is the 2.15 branch version (again, tested x86_64 and x86).  OK 
> for 2.15 branch?
> 
> diff --git a/ChangeLog b/ChangeLog
> index b4b6254..a0b960c 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,11 @@
> +2012-09-25  Joseph Myers  <joseph@codesourcery.com>
> +
> +	[BZ #14621]
> +	* posix/glob.c (next_brace_sub): Use size_t instead of unsigned
> +	int as type of variable DEPTH.
> +	(glob): Use size_t instead of int as type of variables NEWCOUNT
> +	and OLD_PATHC.
> +

OK for 2.15.

Cheers,
Carlos.
-- 
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell@mentor.com
carlos@codesourcery.com
+1 (613) 963 1026



More information about the Libc-alpha mailing list