glibc/dirent
Adhemerval Zanella 27a4b6421f Suppress Clang warning on adding an integer to a string
Suppress Clang warning on adding an integer to a string, like:

tst-iconv-sticky-input-error.c:125:42: error: adding 'int' to a string does not append to the string [-Werror,-Wstring-plus-int]
  125 |                 expected_output = "ABXY" + skip;
      |                                   ~~~~~~~^~~~~~
tst-iconv-sticky-input-error.c:125:42: note: use array indexing to silence this warning
  125 |                 expected_output = "ABXY" + skip;
      |                                          ^
      |                                   &      [     ]

Co-Authored-By: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
2024-12-22 17:35:33 +08:00
..
alphasort64.c
alphasort.c
bug-readdir1.c
closedir.c
dirent.h
dirfd.c
fdopendir.c
getdents64.c
getdents.c
list.c
Makefile Linux: readdir64_r should not skip d_ino == 0 entries (bug 32126) 2024-09-21 19:32:34 +02:00
opendir-tst1.c
opendir.c
readdir64_r.c
readdir64.c
readdir_r.c
readdir.c
rewinddir.c
scandir64-tail.c
scandir64.c
scandir-cancel.c
scandir-tail-common.c
scandir-tail.c
scandir.c
scandirat64.c
scandirat.c
seekdir.c
telldir.c
tst-closedir-leaks.c dirent: Add tst-closedir-leaks 2024-09-21 19:32:34 +02:00
tst-fdopendir2.c
tst-fdopendir.c
tst-readdir-long.c Suppress Clang warning on adding an integer to a string 2024-12-22 17:35:33 +08:00
tst-readdir-zero-inode.c Linux: readdir64_r should not skip d_ino == 0 entries (bug 32126) 2024-09-21 19:32:34 +02:00
tst-rewinddir.c Suppress Clang warning on adding an integer to a string 2024-12-22 17:35:33 +08:00
tst-scandir64.c
tst-scandir.c
tst-seekdir.c
Versions
versionsort64.c
versionsort.c