Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2025 01:44:29 GMT
From:      Jose Luis Duran <jlduran@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 11391f2fa39d - stable/13 - csu tests: Remove extra slash
Message-ID:  <202502120144.51C1iTJl052220@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jlduran:

URL: https://cgit.FreeBSD.org/src/commit/?id=11391f2fa39d6bb3f61ebaf0a2470d7fd0f421e0

commit 11391f2fa39d6bb3f61ebaf0a2470d7fd0f421e0
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2025-02-04 14:15:12 +0000
Commit:     Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2025-02-12 01:38:56 +0000

    csu tests: Remove extra slash
    
    Remove an extra slash that ends up in the metalog.  This double slash
    can produce an invalid specification file if there are subdirectories
    down the hierarchy when sorted.
    
    For example, consider the following metalog excerpt:
    
        ./base/aaa type=dir
        ./base//aaa/bbb type=dir
    
    If sorted, would turn out:
    
        ./base//aaa/bbb type=dir
        ./base/aaa type=dir
    
    Apparently missing the ./base/aaa directory in the specification.
    
    Luckily here are no subdirectories.
    
    Reviewed by:    imp, emaste
    Approved by:    emaste (mentor)
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D48778
    
    (cherry picked from commit 841856570e7b623c4f1283939936ffa005d2fcf4)
---
 lib/csu/tests/dso/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/csu/tests/dso/Makefile b/lib/csu/tests/dso/Makefile
index 6975e64c5dfe..cbe7f74310ab 100644
--- a/lib/csu/tests/dso/Makefile
+++ b/lib/csu/tests/dso/Makefile
@@ -19,6 +19,6 @@ SRCS+=	${src}.c
 SRCS+=	${src}.cc
 .endfor
 
-LIBDIR=		${TESTSBASE}/lib/csu/dynamiclib/
+LIBDIR=		${TESTSBASE}/lib/csu/dynamiclib
 
 .include <bsd.lib.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502120144.51C1iTJl052220>