]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Redocument AS_DIRNAME, even with its flaws.
authorEric Blake <ebb9@byu.net>
Thu, 5 Nov 2009 02:44:38 +0000 (19:44 -0700)
committerEric Blake <ebb9@byu.net>
Thu, 5 Nov 2009 02:44:38 +0000 (19:44 -0700)
* doc/autoconf.texi (Common Shell Constructs) <AS_DIRNAME>:
Restore documenatation, since dirname mentions it.
Reported by Peter Johansson.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
doc/autoconf.texi

index e216f929895b9862d8debfa353c50025397a34dd..4d028c0a5398db33df871344e50ebbd7d55453e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-11-04  Eric Blake  <ebb9@byu.net>
 
+       Redocument AS_DIRNAME, even with its flaws.
+       * doc/autoconf.texi (Common Shell Constructs) <AS_DIRNAME>:
+       Restore documenatation, since dirname mentions it.
+       Reported by Peter Johansson.
+
        Update upstream files.
        * build-aux/announce-gen: Synchronize from upstream.
        * build-aux/config.guess: Likewise.
index 7ca87715059bd0147b20ed92001487b963651633..01778310d9e119d295e2afa81afc49f571269594 100644 (file)
@@ -12964,14 +12964,15 @@ Builtins}).
 @end defmac
 
 @c Deprecated, to be replaced by a better API
-@ignore
 @defmac AS_DIRNAME (@var{file-name})
 @asindex{DIRNAME}
 Output the directory portion of @var{file-name}.  For example,
 if @code{$file} is @samp{/one/two/three}, the command
 @code{dir=`AS_DIRNAME(["$file"])`} sets @code{dir} to @samp{/one/two}.
+
+This interface may be improved in the future to avoid forks and losing
+trailing newlines.
 @end defmac
-@end ignore
 
 @defmac AS_ECHO (@var{word})
 @asindex{ECHO}