This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] Lower severity of the program's return value in some common cases


In some common use cases, gnatls used to return E_Fatal error code, which was
unfriendly for analysis. It has been changed as follows:
 "gnatls -v" and default runtime exists, or
 "gnatls -v --RTS=<good runtime path>" - now returns E_Success
 "gnatls -v" and no default runtime exists - now returns E_Warnings
 "gnatls", "gnatls -h" - now returns E_Success

Tested on x86_64-pc-linux-gnu, committed on trunk

2014-11-07  Vasiliy Fofanov  <fofanov@adacore.com>

	* gnatls.adb: Lower severity of the program's return value in
	some common cases.

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]