r4951 - trunk/varnish-cache/bin/varnishstat

phk at varnish-cache.org phk at varnish-cache.org
Mon Jun 14 09:31:42 CEST 2010


Author: phk
Date: 2010-06-14 09:31:42 +0200 (Mon, 14 Jun 2010)
New Revision: 4951

Modified:
   trunk/varnish-cache/bin/varnishstat/varnishstat_curses.c
Log:
Don't check return value of curs_set(), appearantly the old SVID bug
is still on the loose.



Modified: trunk/varnish-cache/bin/varnishstat/varnishstat_curses.c
===================================================================
--- trunk/varnish-cache/bin/varnishstat/varnishstat_curses.c	2010-06-12 08:29:24 UTC (rev 4950)
+++ trunk/varnish-cache/bin/varnishstat/varnishstat_curses.c	2010-06-14 07:31:42 UTC (rev 4951)
@@ -141,7 +141,7 @@
 	AC(noecho());
 	AC(nonl());
 	AC(intrflush(stdscr, FALSE));
-	AC(curs_set(0));
+	(void)curs_set(0);	/* XXX: too many implementations are bogus */
 
 	while (1) {
 		/*




More information about the varnish-commit mailing list