[debsums] 01/01: explain why symlink loop triggers a die

dod at debian.org dod at debian.org
Wed May 3 16:40:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository debsums.

commit 37366fc9fe8db68612e42a3027f1f7382af7637d
Author: Dominique Dumont <dod at debian.org>
Date:   Wed May 3 18:39:15 2017 +0200

    explain why symlink loop triggers a die
---
 debsums | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debsums b/debsums
index 6043a1e..4b14f86 100755
--- a/debsums
+++ b/debsums
@@ -447,6 +447,8 @@ sub resolve_path {
         }
         my $fp = $root . '/' . join('/', @parts) . '/' . $token;
         if ($seen{$fp}) {
+            # better die now with a clear error message then later
+            # with a sysopen fails
             die "$self: Error: symlink loop detected in path '$path'. ",
                 "Please file a bug again $package.\n";
         }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/debsums.git



More information about the Pkg-perl-cvs-commits mailing list