0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-23 13:36:24 +00:00
glibc-packages/gpkg/termux-exec/termux-exec.c.patch
Ivan Max 94159a9710
new pkgs to gpkg (#115)
gpkg/libicu
gpkg/libwayland
gpkg/libxml2
gpkg/termux-exec
gpkg/gettext
gpkg/grep
gpkg/libtool
gpkg/pcre2
gpkg/sed
gpkg/tar
gpkg/jq
gpkg/oniguruma

Improving gpkg/glibc-runner
2023-10-03 09:32:40 +03:00

14 lines
390 B
Diff

diff --git a/termux-exec.c b/termux-exec.c
index 1f8037d..d537213 100644
--- a/termux-exec.c
+++ b/termux-exec.c
@@ -118,8 +118,6 @@ int execve(const char* filename, char* const* argv, char* const* envp)
new_envp[pos] = NULL;
envp = (char**)new_envp;
- // Not.sure if needed.
- environ = (char**)new_envp;
}
// execve(2): "A maximum line length of 127 characters is allowed