core/glibc/glibc-2.3.5-execvp.patch
2006-02-23 15:26:10 +00:00

16 lines
600 B
Diff

Description: Execute shell with full script path, not just basename.
Origin: http://sources.redhat.com/ml/libc-alpha/2005-04/msg00080.html
Upstream status: Accepted, committed in CVS.
--- glibc-2.3.5/posix/execvp.c.orig 2005-02-26 02:02:17.000000000 +0100
+++ glibc-2.3.5/posix/execvp.c 2005-04-14 17:42:22.000000000 +0200
@@ -140,7 +140,7 @@
{
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