bugGNU Scientific Library - Bugs: bug #64851, gsl-config does not set correct...


You are not allowed to post comments on this tracker with your current authentication level.

bug #64851: gsl-config does not set correct status code

Submitter:  Sergey Litvinov <slitvinov>
Submitted:  Fri 03 Nov 2023 03:56:47 PM UTC
Category:  None Severity:  3 - Normal
Operating System:  Status:  None
Assigned to:  None Open/Closed:  Open
Release:  2.7.1

Fri 03 Nov 2023 03:56:47 PM UTC, original submission:  

gsl-config does not set the correct status code on unknown options.

$ gsl-config --x
* output flushed *
$ echo $?

Expected output is `1'. To fix, one can change a line in gsl-config.in

modified   gsl-config.in
@@ -70,8 +70,7 @@ while test $# -gt 0; do
  echo @GSL_LIBS@ @GSL_LIBM@
- usage
- exit 1
+ usage 1

Sergey Litvinov <slitvinov>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by slitvinov (Submitted the item)

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-12ab.
    Corresponding source code