openbsd-ports/misc/screen/patches/patch-window_c
naddy 8b6b0f3129 * don't roll your own execvpe()
* plain NULL is fine as sentinel now
2012-03-23 21:37:50 +00:00

20 lines
390 B
Plaintext

$OpenBSD: patch-window_c,v 1.1 2012/03/23 21:37:50 naddy Exp $
--- window.c.orig Fri Mar 23 22:25:23 2012
+++ window.c Fri Mar 23 22:26:20 2012
@@ -1387,6 +1387,7 @@ char **args, *ttyn;
return pid;
}
+#if 0
void
execvpe(prog, args, env)
char *prog, **args, **env;
@@ -1432,6 +1433,7 @@ char *prog, **args, **env;
if (eaccess)
errno = EACCES;
}
+#endif
#ifdef PSEUDOS