add sockets wrappers
[gnulib.git] / gnulib-tool
index 1555533..58accba 100755 (executable)
@@ -84,7 +84,7 @@ if (alias) > /dev/null 2>&1 && echo | sed --posix -e d >/dev/null 2>&1; then
 fi
 
 # sed_noop is a sed expression that does nothing.
-# An empty expression does not with the native 'sed' on AIX 6.1.
+# An empty expression does not work with the native 'sed' on AIX 6.1.
 sed_noop='s,x,x,'
 
 # func_usage
@@ -262,7 +262,9 @@ func_emit_copyright_notice ()
 }
 
 # 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