From 1d4d8032cd4ba3353f81ece84f319c71410f4627 Mon Sep 17 00:00:00 2001 From: recht Date: Tue, 29 Jun 2004 23:42:46 +0000 Subject: add patch missed in the previous commit --- comms/snooper/patches/patch-aa | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 comms/snooper/patches/patch-aa (limited to 'comms') diff --git a/comms/snooper/patches/patch-aa b/comms/snooper/patches/patch-aa new file mode 100644 index 00000000000..0ed6f1abc85 --- /dev/null +++ b/comms/snooper/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2004/06/29 23:42:46 recht Exp $ + +--- ../src/scrn.c.orig 1998-08-12 16:32:02.000000000 +0200 ++++ ../src/scrn.c 2004-06-30 01:38:04.000000000 +0200 +@@ -33,7 +33,7 @@ + #ifdef TIOCGWINSZ + struct winsize win; + +- if (ioctl(STDERR_FILENO, TIOCGWINSZ, &win) == -1) { ++ if (ioctl(STDERR_FILENO, TIOCGWINSZ, &win) != -1) { + rows = win.ws_row; + cols = win.ws_col; + } -- cgit v1.2.3