[LTP] [PATCH v3 10/12] getdtablesize01: Handle ENFILE errno

Cyril Hrubis chrubis@suse.cz
Fri Dec 8 11:27:37 CET 2017


Hi!
> -	for (loop = 1; loop <= max_val_opfiles; loop++) {
> +	for (loop = 0; ; loop++) {

Why not just for (;;) ?

I do not see that we use the loop variable anywhere in the code.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list