Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/regex be less chatty.
details: https://anonhg.NetBSD.org/src/rev/2c27a3b724b0
branches: trunk
changeset: 771039:2c27a3b724b0
user: christos <christos%NetBSD.org@localhost>
date: Sun Nov 06 16:43:25 2011 +0000
description:
be less chatty.
diffstat:
tests/lib/libc/regex/att.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r ac28a0ce48ef -r 2c27a3b724b0 tests/lib/libc/regex/att.c
--- a/tests/lib/libc/regex/att.c Sun Nov 06 16:41:02 2011 +0000
+++ b/tests/lib/libc/regex/att.c Sun Nov 06 16:43:25 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: att.c,v 1.5 2011/11/06 16:26:54 christos Exp $ */
+/* $NetBSD: att.c,v 1.6 2011/11/06 16:43:25 christos Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: att.c,v 1.5 2011/11/06 16:26:54 christos Exp $");
+__RCSID("$NetBSD: att.c,v 1.6 2011/11/06 16:43:25 christos Exp $");
#include <stdio.h>
#include <regex.h>
@@ -364,8 +364,9 @@
char *name, *pattern, *input, *matches, *comment;
regmatch_t *pm;
size_t nm;
-
+#ifdef DEBUG
fprintf(stderr, "[%s]\n", line);
+#endif
if ((name = strtok(line, sep)) == NULL)
continue;
Home |
Main Index |
Thread Index |
Old Index