changeset 10453:483ea2002278

Update comment.
author Bruno Haible <bruno@clisp.org>
date Sat, 20 Sep 2008 14:42:41 +0200
parents daf6d6d7a3d4
children 83d12e60b1e0
files ChangeLog gnulib-tool
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-18  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-tool (func_exit): Update comment.
+
 2008-09-18  Simon Josefsson  <simon@josefsson.org>
 
 	* modules/getaddrinfo (Depends-on): Remove strdup, this module
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -262,7 +262,9 @@
 }
 
 # func_exit STATUS
-# exit with status
+# exits with a given status.
+# This function needs to be used, rather than 'exit', when a 'trap' handler is
+# in effect that refers to $?.
 func_exit ()
 {
   (exit $1); exit $1