diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-22 19:41:04 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-22 19:41:04 +0000 |
commit | f1a2ff6ffe9ab742f6855b8de64d944bbae57112 (patch) | |
tree | 120fa085b1c30e94426f023cf5160f05bc2f6371 /sysutils/cotty | |
parent | 87d71cf966b3ecef35e80a161668b08e2a0f5cb1 (diff) | |
download | ports-f1a2ff6ffe9ab742f6855b8de64d944bbae57112.tar.gz ports-f1a2ff6ffe9ab742f6855b8de64d944bbae57112.zip |
Notes
Diffstat (limited to 'sysutils/cotty')
-rw-r--r-- | sysutils/cotty/files/patch-cotty-0.4c.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/cotty/files/patch-cotty-0.4c.c b/sysutils/cotty/files/patch-cotty-0.4c.c new file mode 100644 index 000000000000..302d0b746512 --- /dev/null +++ b/sysutils/cotty/files/patch-cotty-0.4c.c @@ -0,0 +1,34 @@ + +$FreeBSD$ + +--- cotty-0.4c.c.orig Sun Aug 22 21:39:06 2004 ++++ cotty-0.4c.c Sun Aug 22 21:40:01 2004 +@@ -748,6 +748,7 @@ + return 1; + case normal: + case keep_current: ++ break; + } + return 2; + } +@@ -762,7 +763,8 @@ + case normal: + case keep_current: + case direct: +- } ++ break; ++ } + return 2; + } + +@@ -989,8 +991,8 @@ + strcpy(tty_name[1],pty_name[0]); + strcpy(pty_name[1],tty_name[0]); + break; +- case normal: +- case keep_current: ++ case normal: break; ++ case keep_current: break; + } + /* we don't need those null fds anymore */ + for (j=0;j<3;j++) { |