[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [Bug-Wget] Configure flag to disable assert
From: |
Darshit Shah |
Subject: |
[Bug-wget] [Bug-Wget] Configure flag to disable assert |
Date: |
Sat, 15 Nov 2014 00:31:06 +0530 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Assertions are good programming practice. However, as the recent assert I added
shows us, they should not exist on the client side installations of our
software. Assertions are meant for development use only.
Hence, I've added a new configure option, --disable-assert which will eliminate
all assertions from the codebase before compilation.
A Note to Distro Maintainers:
=============================
I very highly recommend that you use the --disable-assert configuration option
when compiling Wget. This is allow you to ensure that Wget does not fail with
cryptic messages or for reasons that the end user cannot easily understand.
Sometimes an assumption may fail, but the issue is not critical enough to cause
Wget to crash. In such cases, disabling asserts will greatly improve user
experience.
--
Thanking You,
Darshit Shah
0002-Add-a-configure-option-to-disable-assertions.patch
Description: Text Data
pgpACdBwcKvCu.pgp
Description: PGP signature