mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
2005-12-27 Roland McGrath <roland@redhat.com>
* posix/tst-execle1.c (do_test): Add a const. * posix/tst-execle2.c (do_test): Likewise.
This commit is contained in:
parent
285a709ace
commit
89c47e9c50
@ -6,7 +6,7 @@ static int
|
|||||||
do_test (void)
|
do_test (void)
|
||||||
{
|
{
|
||||||
static const char prog[] = "does-not-exist";
|
static const char prog[] = "does-not-exist";
|
||||||
char *env [] = {"FOO=BAR", NULL};
|
const char *env [] = {"FOO=BAR", NULL};
|
||||||
errno = 0;
|
errno = 0;
|
||||||
execle (prog, prog, NULL, env);
|
execle (prog, prog, NULL, env);
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ prepare (int argc, char *argv[])
|
|||||||
static int
|
static int
|
||||||
do_test (void)
|
do_test (void)
|
||||||
{
|
{
|
||||||
char *env[] = {"FOO=BAR", NULL};
|
const char *env[] = {"FOO=BAR", NULL};
|
||||||
errno = 0;
|
errno = 0;
|
||||||
execle (copy, copy, NULL, env);
|
execle (copy, copy, NULL, env);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user