RE: bash-4.3 bug report

2014-04-14 Thread David Binderman
hen* sanity check it's value. Regards David Binderman

bash-4.3 bug report

2014-04-14 Thread David Binderman
Hello there,  [bind.c:2238]: (style) Array index 'j' is used before limits check. Source code is   for (j = 0; invokers[j] && j < 5; j++) Suggest new code   for (j = 0; (j < 5) && (invokers[j] != NULL); j++) Regards David Binderman

bash-4.2: poor order of conditionals

2011-10-26 Thread David Binderman
You might be better off with while (i < file_size && buffer[i] != '\n') i++; Regards David Binderman