mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
and used by tar. [1] - bsd-user: Fix crashes in sysctl.kern.proc in 32bit envs on 64bit. [1] - Bump PORTREVISION. Submitted by: sson [1]
13 lines
497 B
Text
13 lines
497 B
Text
diff --git a/bsd-user/bsdload.c b/bsd-user/bsdload.c
|
|
index 28a8bba..a1d8747 100644
|
|
--- a/bsd-user/bsdload.c
|
|
+++ b/bsd-user/bsdload.c
|
|
@@ -228,7 +228,7 @@ int loader_exec(const char * filename, char ** argv, char ** envp,
|
|
bprm->fullpath = g_strdup(fullpath);
|
|
} else {
|
|
retval = open(execname, O_RDONLY);
|
|
- bprm->fullpath = NULL;
|
|
+ bprm->fullpath = g_strdup(execname);
|
|
}
|
|
if (execname) {
|
|
g_free((void *)execname);
|