openbsd-ports/x11/windowmaker/patches/patch-src_main_c
wilfried 845abd26d4 On BSD systems putenv creates its own strdup of supplied string,
therefor it should be freed again

patch from Tobias Stoeckmann
2007-04-25 11:34:47 +00:00

21 lines
544 B
Plaintext

$OpenBSD: patch-src_main_c,v 1.1 2007/04/25 11:34:47 wilfried Exp $
--- src/main.c.orig Mon Oct 25 03:32:51 2004
+++ src/main.c Wed Mar 14 22:50:36 2007
@@ -331,6 +331,7 @@ ExecuteShellCommand(WScreen *scr, char *
* forked by wmaker.
*---------------------------------------------------------------------------
*/
+#if 0
void
StartLogShell(WScreen *scr)
{
@@ -403,7 +404,7 @@ StartLogShell(WScreen *scr)
LogStdErr = err_fd[0];
}
}
-
+#endif
/*
*---------------------------------------------------------------------