maint: avoid exiting with magic number
authorEric Blake <ebb9@byu.net>
Thu, 29 Oct 2009 12:37:38 +0000 (06:37 -0600)
committerEric Blake <ebb9@byu.net>
Thu, 29 Oct 2009 13:31:23 +0000 (07:31 -0600)
commit17b7d09bf2320c9a8addabae7049ed5431553bd1
treec1db8a4278ff57c1525165c1a316030a6efe4eb1
parentf2859424cbdf23f6673fd4f3a9d7a5b197e0595e
maint: avoid exiting with magic number

Cope with gnulib's new sc_prohibit_magic_number_exit rule.

* .x-sc_prohibit_magic_number_exit: New file, to add exemptions.
* Makefile.am (syntax_check_exceptions): Distribute it.
* lib/euidaccess-stat.c (main): Fix culprits.
* src/chcon.c (main): Likewise.
* src/runcon.c (main): Likewise.
* src/setuidgid.c (main): Likewise.
.x-sc_prohibit_magic_number_exit [new file with mode: 0644]
Makefile.am
lib/euidaccess-stat.c
src/chcon.c
src/runcon.c
src/setuidgid.c