diff options
Diffstat (limited to 'sys-cluster/vzctl/files/patches/025_all_off-by-one.patch')
-rw-r--r-- | sys-cluster/vzctl/files/patches/025_all_off-by-one.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sys-cluster/vzctl/files/patches/025_all_off-by-one.patch b/sys-cluster/vzctl/files/patches/025_all_off-by-one.patch deleted file mode 100644 index 58e4de2..0000000 --- a/sys-cluster/vzctl/files/patches/025_all_off-by-one.patch +++ /dev/null @@ -1,23 +0,0 @@ -From: Dmitry V. Levin <ldv@altlinux.org> -Date: Fri, 25 Aug 2006 07:57:09 +0000 (+0400) -Subject: vzctl enter: Fix off-by-one error which resulted to uninitialized PATH. -X-Git-Url: http://git.openvz.org/?p=vzctl;a=commitdiff;h=24807ad04c47c4c799b9b7bb7188c07cdd9c31ca - -vzctl enter: Fix off-by-one error which resulted to uninitialized PATH. - -Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> ---- - -Index: vzctl-3.0.11/src/enter.c -=================================================================== ---- vzctl-3.0.11.orig/src/enter.c -+++ vzctl-3.0.11/src/enter.c -@@ -265,7 +265,7 @@ int do_enter(vps_handler *h, envid_t vei - close(slave); - if ((term = getenv("TERM")) != NULL) { - snprintf(buf, sizeof(buf), "TERM=%s", term); -- env[2] = buf; -+ env[3] = buf; - } - execve("/bin/bash", arg, env); - execve("/bin/sh", arg, env); |