lndir: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Oct 28 01:03:24 UTC 2022


 .gitlab-ci.yml |    8 ++--
 configure.ac   |    8 ++++
 lndir.c        |   93 +++++++++++++++++++++++++++++++++++++++------------------
 3 files changed, 77 insertions(+), 32 deletions(-)

New commits:
commit c7f46ebed5d731361ce96ce0745a7b59a53f32ff
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Wed Oct 19 16:53:57 2022 -0700

    Use strlcat and strlcpy if available
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit f8c6c99000e4677ac2d0aab79b8e0ed561f170bc
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Wed Oct 19 12:28:41 2022 -0700

    Use memmove instead of strcpy for overlapping strings
    
    strcpy is not guaranteed to work with overlapping arguments.
    Fortunately this code is only called on paths with multiple
    consecutive '/' characters.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 719f5b869d21794aeaab6101ed62242626e95f52
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Wed Oct 19 11:32:41 2022 -0700

    Reduce number of strcmp calls to check directory names for revision control
    
    Group directory names to match depending on whether they start
    with a "." or not, when not using -withrevinfo.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit d95bc26cd3686d345136b34462cc77b591b459ba
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Wed Oct 19 11:13:56 2022 -0700

    Fix -Wsign-conversion warning from clang
    
    lndir.c:174:18: warning: implicit conversion changes signedness: 'nlink_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
        n_dirs = fs->st_nlink;
               ~ ~~~~^~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit e0ca083dada62cff23b58e9c55b48c854a436ff8
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Wed Oct 19 11:10:52 2022 -0700

    Fix -Wshorten-64-to-32 warnings from clang
    
    lndir.c:252:11: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
            symlen = readlink (dp->d_name, symbuf, sizeof(symbuf) - 1);
                   ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    lndir.c:261:19: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
                basesymlen = readlink(buf, basesym, sizeof(basesym) - 1);
                           ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit bc75934a8912b237a7f4658d7cf28ddd9a766d41
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Wed Oct 19 11:07:29 2022 -0700

    Mark global variables as static
    
    Clears -Wmissing-variable-declarations warnings from clang
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 2cddd8041cf5b6369d2216d0ffbdfa2821869215
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Wed Oct 19 11:01:50 2022 -0700

    constify a couple more function arguments
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 6f4cd1fc5bbfc64f3998d245b163d8300fae746b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Jul 28 17:30:21 2022 -0700

    gitlab CI: stop requiring Signed-off-by in commits
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list