diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-11-03 07:41:31 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-11-03 07:41:31 +0100 |
commit | ee594d6c64f09259d6e80568de4f533c08bc93aa (patch) | |
tree | 60bfae025916eb5456230099ef06ac9b782d25d9 /maint.mk | |
parent | e3a268ca8093434d04f351a77e374f8adf63c0a5 (diff) | |
download | gnutls-ee594d6c64f09259d6e80568de4f533c08bc93aa.tar.gz |
Update gnulib files.
Diffstat (limited to 'maint.mk')
-rw-r--r-- | maint.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -156,6 +156,12 @@ sc_prohibit_strcmp: { echo '$(ME): use STREQ in place of the above uses of str''cmp' \ 1>&2; exit 1; } || : +# Pass EXIT_*, not number, to usage, exit, and error (when exiting) +sc_prohibit_magic_number_exit: + @re='\<(usage|exit) ?\([0-9]|\<error ?\([1-9][0-9]*,' \ + msg='use EXIT_* values rather than magic number' \ + $(_prohibit_regexp) + # Using EXIT_SUCCESS as the first argument to error is misleading, # since when that parameter is 0, error does not exit. Use `0' instead. sc_error_exit_success: |