automake-commit
[Top][All Lists]
Advanced

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

[Automake-commit] [SCM] GNU Automake branch, master, updated. Release-1-


From: Ralf Wildenhues
Subject: [Automake-commit] [SCM] GNU Automake branch, master, updated. Release-1-10-199-gb9cf117
Date: Sat, 18 Oct 2008 08:11:04 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=b9cf117b19fb91b3931e9bad064be6beca19240a

The branch, master has been updated
       via  b9cf117b19fb91b3931e9bad064be6beca19240a (commit)
      from  9c0bda6240dce5262fc4b4b28b26db8cd840cd57 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b9cf117b19fb91b3931e9bad064be6beca19240a
Author: Ralf Wildenhues <address@hidden>
Date:   Sat Oct 18 10:08:15 2008 +0200

    Diagnose unsupported uses of `backname' helper function.
    
    * automake.in (backname): Error out if the path points outside
    the directory it started in.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog   |    6 ++++++
 automake.in |    3 ++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 946aef7..45c8e3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-18  Ralf Wildenhues  <address@hidden>
+
+       Diagnose unsupported uses of `backname' helper function.
+       * automake.in (backname): Error out if the path points outside
+       the directory it started in.
+
 2008-10-12  Ralf Wildenhues  <address@hidden>
 
        Nicer 'make dist' output.
diff --git a/automake.in b/automake.in
index 4e53484..335fe13 100755
--- a/automake.in
+++ b/automake.in
@@ -1053,7 +1053,8 @@ sub backname ($)
        next if $_ eq '.' || $_ eq '';
        if ($_ eq '..')
        {
-           pop @res;
+           pop @res
+             or prog_error ("trying to reverse path `$file' pointing outside 
tree");
        }
        else
        {


hooks/post-receive
--
GNU Automake




reply via email to

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