]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - posix/tst-execvp2.c
Correct type of SSIZE_MAX for 32-bit (bug 13575).
[thirdparty/glibc.git] / posix / tst-execvp2.c
index 7e0f5d882c69e74319858aaa3c87850b9eba8b83..440dfab4389b35418b8520e6ce304c1bccb0186c 100644 (file)
@@ -14,6 +14,9 @@ static int do_test (void);
 #define TEST_FUNCTION do_test ()
 #include "../test-skeleton.c"
 
+#ifndef EXECVP
+# define EXECVP(file, argv)  execvp (file, argv)
+#endif
 
 static char *copy;
 
@@ -70,7 +73,7 @@ do_test (void)
 
   char *argv[] = { basename (copy), NULL };
   errno = 0;
-  execvp (argv[0], argv);
+  EXECVP (argv[0], argv);
 
   if (errno != EACCES)
     {