diff options
author | Roland McGrath <roland@gnu.org> | 2005-04-15 09:33:04 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-04-15 09:33:04 +0000 |
commit | 6183d906dd822337dec18dd1f48209dfd17127bd (patch) | |
tree | 23fe554ffcdecf0ae3b5879155c28b17766ea441 /posix/execvp.c | |
parent | a19fc30a4be27a24065b9a53b98042b73ff51b69 (diff) |
Updated to fedora-glibc-20050415T0909cvs/fedora-glibc-2_3_5-1
Diffstat (limited to 'posix/execvp.c')
-rw-r--r-- | posix/execvp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/execvp.c b/posix/execvp.c index 0abfa7007c..6f4e4b8566 100644 --- a/posix/execvp.c +++ b/posix/execvp.c @@ -133,14 +133,14 @@ execvp (file, argv) else startp = (char *) memcpy (name - (p - path), path, p - path); - /* Try to execute this name. If it works, execv will not return. */ + /* Try to execute this name. If it works, execve will not return. */ __execve (startp, argv, __environ); if (errno == ENOEXEC) { if (script_argv == NULL) { - script_argv = allocate_scripts_argv (file, argv); + script_argv = allocate_scripts_argv (startp, argv); if (script_argv == NULL) { /* A possible EACCES error is not as important as |