openbsd-ports/editors/joe/patches/patch-tty.c
brad 9bb0a4096a - move example configs from lib/joe to share/examples/joe
- make all patches unified diffs
- rename patches
- fixup INSTALL/DEINSTALL, remove hardcoded /etc
2001-01-17 18:34:01 +00:00

12 lines
240 B
C

--- tty.c.orig Mon Jan 23 00:17:20 1995
+++ tty.c Wed Jan 17 11:45:33 2001
@@ -672,7 +672,7 @@
char *cmd;
{
int x,omode=ttymode;
- char *s=getenv("SHELL");
+ char *s=(char *)getenv("SHELL");
if(!s) return;
ttclsn();
if(x=fork())