Source-Changes-HG archive

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

[src/trunk]: src/sbin/rcorder don't whine about non-regular files. It is perf...



details:   https://anonhg.NetBSD.org/src/rev/fd93ff3069cc
branches:  trunk
changeset: 525357:fd93ff3069cc
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 10 12:38:26 2002 +0000

description:
don't whine about non-regular files. It is perfectly normal to keep a CVS
or RCS directory in /etc/rc.d.

diffstat:

 sbin/rcorder/rcorder.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r d1dfe5dca789 -r fd93ff3069cc sbin/rcorder/rcorder.c
--- a/sbin/rcorder/rcorder.c    Wed Apr 10 12:05:20 2002 +0000
+++ b/sbin/rcorder/rcorder.c    Wed Apr 10 12:38:26 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rcorder.c,v 1.7 2000/08/04 07:33:55 enami Exp $        */
+/*     $NetBSD: rcorder.c,v 1.8 2002/04/10 12:38:26 christos Exp $     */
 
 /*
  * Copyright (c) 1998, 1999 Matthew R. Green
@@ -480,7 +480,9 @@
        }
 
        if (!S_ISREG(st.st_mode)) {
+#if 0
                warnx("%s is not a file", filename);
+#endif
                fclose(fp);
                return;
        }



Home | Main Index | Thread Index | Old Index