Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libcurses/director tests/libcurses: document anoth...



details:   https://anonhg.NetBSD.org/src/rev/dd038584c42a
branches:  trunk
changeset: 959298:dd038584c42a
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Feb 07 13:44:22 2021 +0000

description:
tests/libcurses: document another bug in the test director

diffstat:

 tests/lib/libcurses/director/director.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 2c341a1d828c -r dd038584c42a tests/lib/libcurses/director/director.c
--- a/tests/lib/libcurses/director/director.c   Sun Feb 07 13:22:23 2021 +0000
+++ b/tests/lib/libcurses/director/director.c   Sun Feb 07 13:44:22 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: director.c,v 1.12 2021/02/07 13:22:23 rillig Exp $     */
+/*     $NetBSD: director.c,v 1.13 2021/02/07 13:44:22 rillig Exp $     */
 
 /*-
  * Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -70,6 +70,9 @@
 /*
  * Handle the slave exiting unexpectedly, try to recover the exit message
  * and print it out.
+ *
+ * FIXME: Must not use stdio in a signal handler.  This leads to incomplete
+ * output in verbose mode, truncating the useful part of the error message.
  */
 static void
 slave_died(int param)



Home | Main Index | Thread Index | Old Index