[PATCH] Reimplement AS_BASENAME and AS_DIRNAME with shell functions.

2010-07-29 Thread Stefano Lattarini
Hello autoconfers. There is any reason why the AS_BASENAME and AS_DIRNAME macros don't have associated as_fn_* shells functions, like e.g. AS_MKDIR_P or AS_UNSET do? If there is no such reason, you might find the attached patch useful. Regards, Stefano From

Re: [PATCH] Reimplement AS_BASENAME and AS_DIRNAME with shell functions.

2010-07-29 Thread Eric Blake
On 07/29/2010 05:15 AM, Stefano Lattarini wrote: Hello autoconfers. There is any reason why the AS_BASENAME and AS_DIRNAME macros don't have associated as_fn_* shells functions, like e.g. AS_MKDIR_P or AS_UNSET do? If there is no such reason, you might find the attached patch useful.

Re: [PATCH] Reimplement AS_BASENAME and AS_DIRNAME with shell functions.

2010-07-29 Thread Stefano Lattarini
At Thursday 29 July 2010, Eric Blake wrote: On 07/29/2010 05:15 AM, Stefano Lattarini wrote: Hello autoconfers. There is any reason why the AS_BASENAME and AS_DIRNAME macros don't have associated as_fn_* shells functions, like e.g. AS_MKDIR_P or AS_UNSET do? If there is no such

Add missing index entries to manual.

2010-07-29 Thread Ralf Wildenhues
Committed as obvious. I've used something like exec 50; sed -n 's/.*Macro: *\([^ ]*\) .*/\1/p' autoconf.info* | while read mac; do info -f ./autoconf.info --index $mac 05; done to find out manually which macros were defined but without index entry. There's probably a better way to

[PATCH 2/2] docs: mention ksh file descriptor limitation

2010-07-29 Thread Eric Blake
* doc/autoconf.texi (File Descriptors): Document issue with fd 10 and above. Reported by Ralf Wildenhues. --- ChangeLog |5 + doc/autoconf.texi | 14 ++ 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 278a565..0ef1fd3

[PATCH 1/2] docs: mention cd limitation

2010-07-29 Thread Eric Blake
* doc/autoconf.texi (Limitations of Builtins) cd: Document issues with empty argument. Signed-off-by: Eric Blake ebl...@redhat.com --- Pushing both of these, to address recent issues brought up on the list. ChangeLog |6 ++ doc/autoconf.texi | 10 ++ 2 files changed,

Re: [PATCH 2/2] docs: mention ksh file descriptor limitation

2010-07-29 Thread Stefano Lattarini
Hi Eric. At Friday 30 July 2010, Eric Blake wrote: * doc/autoconf.texi (File Descriptors): Document issue with fd 10 and above. Reported by Ralf Wildenhues. --- ChangeLog |5 + doc/autoconf.texi | 14 ++ 2 files changed, 19 insertions(+), 0 deletions(-)

Re: [PATCH 2/2] docs: mention ksh file descriptor limitation

2010-07-29 Thread Eric Blake
On 07/29/2010 05:48 PM, Stefano Lattarini wrote: +On the other hand, you can't portably use multi-digit file descriptors. +Solaris @command{ksh} doesn't understand any file descriptor larger +than @samp{9}: + FWIW, Solaris /bin/sh and /usr/xpg4/bin/sh don't understand it, too. Is this worth