Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses Don't set the clear_to_eol variable in doupdat...
details: https://anonhg.NetBSD.org/src/rev/852942c3f561
branches: trunk
changeset: 374493:852942c3f561
user: blymn <blymn%NetBSD.org@localhost>
date: Fri Apr 28 07:12:39 2023 +0000
description:
Don't set the clear_to_eol variable in doupdate to NULL, this was a
leftover from previous code that makes no sense and makes worms(6)
crash randomly. Thanks to kre@ for reporting this.
diffstat:
lib/libcurses/refresh.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 152cc3f90e9c -r 852942c3f561 lib/libcurses/refresh.c
--- a/lib/libcurses/refresh.c Thu Apr 27 20:55:27 2023 +0000
+++ b/lib/libcurses/refresh.c Fri Apr 28 07:12:39 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: refresh.c,v 1.126 2022/12/05 21:14:25 blymn Exp $ */
+/* $NetBSD: refresh.c,v 1.127 2023/04/28 07:12:39 blymn Exp $ */
/*
* Copyright (c) 1981, 1993, 1994
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)refresh.c 8.7 (Berkeley) 8/13/94";
#else
-__RCSID("$NetBSD: refresh.c,v 1.126 2022/12/05 21:14:25 blymn Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.127 2023/04/28 07:12:39 blymn Exp $");
#endif
#endif /* not lint */
@@ -1382,7 +1382,6 @@ makech(int wy)
}
return OK;
}
- ce = NULL;
}
#ifdef HAVE_WCHAR
Home |
Main Index |
Thread Index |
Old Index