Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/screenblank revert part of previous; don't monitor ...
details: https://anonhg.NetBSD.org/src/rev/724030070320
branches: trunk
changeset: 521096:724030070320
user: lukem <lukem%NetBSD.org@localhost>
date: Wed Jan 23 17:30:17 2002 +0000
description:
revert part of previous; don't monitor framebuffers for input because
they get mtime updates on output.
XXX: need to find out how to monitor a wscons input device other than
ttyE0 that gets updated when keys are pressed on the console keyboard...
diffstat:
usr.sbin/screenblank/screenblank.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r d95126b39163 -r 724030070320 usr.sbin/screenblank/screenblank.c
--- a/usr.sbin/screenblank/screenblank.c Wed Jan 23 17:11:38 2002 +0000
+++ b/usr.sbin/screenblank/screenblank.c Wed Jan 23 17:30:17 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: screenblank.c,v 1.16 2002/01/23 16:57:51 lukem Exp $ */
+/* $NetBSD: screenblank.c,v 1.17 2002/01/23 17:30:17 lukem Exp $ */
/*-
* Copyright (c) 1996-2002 The NetBSD Foundation, Inc.
@@ -45,7 +45,7 @@
__COPYRIGHT(
"@(#) Copyright (c) 1996-2002 \
The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: screenblank.c,v 1.16 2002/01/23 16:57:51 lukem Exp $");
+__RCSID("$NetBSD: screenblank.c,v 1.17 2002/01/23 17:30:17 lukem Exp $");
#endif
#include <sys/types.h>
@@ -224,11 +224,9 @@
change = 0;
for (dsp = ds_list.lh_first; dsp != NULL;
dsp = dsp->ds_link.le_next) {
-#if 0 /* XXXLUKEM - doesn't make sense for wscons framebuffers */
/* Don't check framebuffers. */
if (dsp->ds_isfb)
continue;
-#endif
if (stat(dsp->ds_path, &st) == -1) {
syslog(LOG_CRIT,
"Can't stat `%s' (%m)", dsp->ds_path);
Home |
Main Index |
Thread Index |
Old Index