When compiling bash with GCC there are a number of alarming-looking
warnings, and several of them could be avoided by minor changes to the
code.  For example:

bashline.c:2976: warning: suggest parentheses around assignment used
as truth value

  for (passc = 0; c = string[i]; i++)

This could more readably be written:

  for (passc = 0; (c = string[i]) != '\0'; i++)

Would you be willing to accept patches to make changes such as this?

Thanks,
Tim.
*/

Attachment: pgpgihAgw6o76.pgp
Description: PGP signature

_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to