-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Joel E. Denny on 9/3/2009 12:08 PM: >>> + assert(i <= sizeof argv / sizeof *argv); >>> } > /* <assert.h>'s assertions are too heavyweight, and can be disabled > too easily, so use aver rather than assert. */ > I don't have a strong opinion on this issue, but we ought to consider it. > Any reason not to continue with his approach?
Fine with me to change that. The coreutils package now uses more asserts than back when Paul gave his opinion 3 years ago, but it also uses the gnulib module assert which makes it very easy to call ./configure - --disable-asserts, which, like you said, disables all asserts rather easily. - -- Don't work too hard, make some time for fun as well! Eric Blake [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqgbAgACgkQ84KuGfSFAYD8IQCfetkpr47/DwVy2KtCIlDWVEKt CrIAoKH8ArJS+9nJde8O/Qh/9l0pueKw =A7/T -----END PGP SIGNATURE-----
