]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
analyzer/strndup-1.c: skip on *-*-vxworks*
authorAlexandre Oliva <oliva@adacore.com>
Wed, 30 Mar 2022 01:47:19 +0000 (22:47 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 30 Mar 2022 01:47:19 +0000 (22:47 -0300)
Add vxworks to the set of operating systems whose C libraries don't
support strndup.

for  gcc/testsuite/ChangeLog

* gcc.dg/analyzer/strndup-1.c: Add *-*-vxworks* to no-strndup
in libc.

gcc/testsuite/gcc.dg/analyzer/strndup-1.c

index edf494ac28448984e2225909eb6cd5f394126834..8cf7a42bf53618de768ae1ab80e4578c0f00d6a0 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-skip-if "no strndup in libc" { *-*-darwin[789]* *-*-darwin10* *-*-mingw* } } */
+/* { dg-skip-if "no strndup in libc" { *-*-darwin[789]* *-*-darwin10* *-*-mingw* *-*-vxworks* } } */
+
 #include <string.h>
 #include <stdlib.h>