autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Shell functions and variables may share a namespace.


From: Ralf Wildenhues
Subject: [PATCH] Shell functions and variables may share a namespace.
Date: Wed, 14 Nov 2007 22:01:07 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* doc/autoconf.texi (Portable Shell): Mention Solaris sh limitation.
---
OK to apply?

 doc/autoconf.texi |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 12eef55..858c1e3 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -12162,7 +12162,13 @@ you should not rely on the error status of a subshell 
if the last
 command of that subshell was @code{exit} or @code{trap}, as this
 triggers bugs in zsh 4.x; while Autoconf tries to find a shell that
 does not exhibit the bug, zsh might be the only shell present on the
-user's machine.
+user's machine.  Also, variables and functions may share a namespace,
+for example with Solaris 10 @command{/bin/sh}:
+
address@hidden
+$ @kbd{f () @{ :; @}; f=; f}
+f: not found
address@hidden example
 
 Some ancient systems have quite
 small limits on the length of the @samp{#!} line; for instance, 32
-- 
1.5.3.5.561.g140d





reply via email to

[Prev in Thread] Current Thread [Next in Thread]