* config/getopt.m4sh (func_version, func_usage, func_help, * config/ltmain.m4sh (func_mode_help, func_config, func_features): Exit with nonzero status on write failures. Index: config/getopt.m4sh =================================================================== RCS file: /cvsroot/libtool/libtool/config/getopt.m4sh,v retrieving revision 1.1.2.2 diff -u -r1.1.2.2 getopt.m4sh --- config/getopt.m4sh 30 Dec 2004 12:03:05 -0000 1.1.2.2 +++ config/getopt.m4sh 2 Feb 2005 22:01:37 -0000 @@ -36,7 +36,7 @@ s/\((C)\)[[ 0-9,-]]*\( [[1-9]][[0-9]]*\)/\1\2/; p; }' < "$progpath" - exit $EXIT_SUCCESS + exit $? } # func_usage @@ -50,7 +50,7 @@ }' < "$progpath" $ECHO $ECHO "run \`$progname --help | more' for full usage" - exit $EXIT_SUCCESS + exit $? } # func_help @@ -69,7 +69,7 @@ s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/; p; }' < "$progpath" - exit $EXIT_SUCCESS + exit $? } # func_missing_arg argname Index: config/ltmain.m4sh =================================================================== RCS file: /cvsroot/libtool/libtool/config/ltmain.m4sh,v retrieving revision 1.1.2.38 diff -u -r1.1.2.38 ltmain.m4sh --- config/ltmain.m4sh 1 Feb 2005 07:35:05 -0000 1.1.2.38 +++ config/ltmain.m4sh 2 Feb 2005 22:01:44 -0000 @@ -153,7 +153,7 @@ $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" done - exit $EXIT_SUCCESS + exit $? } # func_features @@ -172,7 +172,7 @@ $ECHO "disable static libraries" fi - exit $EXIT_SUCCESS + exit $? } # func_enable_tag tagname @@ -393,7 +393,7 @@ $ECHO $ECHO "Try \`$progname --help' for more information about other modes." - exit $EXIT_SUCCESS + exit $? } # Parse options once, thoroughly. This comes as soon as possible in