mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01: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
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue