Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/libarchive/dist/libarchive/test make variable c...



details:   https://anonhg.NetBSD.org/src/rev/737cf060388b
branches:  trunk
changeset: 1009388:737cf060388b
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 22 15:55:41 2020 +0000

description:
make variable constant since it is assigned from a string literal

diffstat:

 external/bsd/libarchive/dist/libarchive/test/test_acl_platform_posix1e.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r b27df61e2fd7 -r 737cf060388b external/bsd/libarchive/dist/libarchive/test/test_acl_platform_posix1e.c
--- a/external/bsd/libarchive/dist/libarchive/test/test_acl_platform_posix1e.c  Wed Apr 22 15:40:27 2020 +0000
+++ b/external/bsd/libarchive/dist/libarchive/test/test_acl_platform_posix1e.c  Wed Apr 22 15:55:41 2020 +0000
@@ -364,8 +364,8 @@
        struct archive *a;
        struct archive_entry *ae;
        int n, fd, flags, dflags;
-       char *func, *acl_text;
-       const char *acl1_text, *acl2_text, *acl3_text;
+       char *acl_text;
+       const char *func, *acl1_text, *acl2_text, *acl3_text;
 #if ARCHIVE_ACL_SUNOS
        void *aclp;
        int aclcnt;



Home | Main Index | Thread Index | Old Index