Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/file/dist/src Remove a noisy debugging printf t...



details:   https://anonhg.NetBSD.org/src/rev/e25dbfcec062
branches:  trunk
changeset: 766482:e25dbfcec062
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Jun 23 16:12:36 2011 +0000

description:
Remove a noisy debugging printf that triggers on bigendian platforms.
(Reported upstream as well)

diffstat:

 external/bsd/file/dist/src/apprentice.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r f6eeb44aa580 -r e25dbfcec062 external/bsd/file/dist/src/apprentice.c
--- a/external/bsd/file/dist/src/apprentice.c   Thu Jun 23 16:02:20 2011 +0000
+++ b/external/bsd/file/dist/src/apprentice.c   Thu Jun 23 16:12:36 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: apprentice.c,v 1.3 2011/05/13 01:52:13 christos Exp $  */
+/*     $NetBSD: apprentice.c,v 1.4 2011/06/23 16:12:36 riz Exp $       */
 
 /*
  * Copyright (c) Ian F. Darwin 1986-1995.
@@ -37,7 +37,7 @@
 #if 0
 FILE_RCSID("@(#)$File: apprentice.c,v 1.169 2011/05/10 17:08:13 christos Exp $")
 #else
-__RCSID("$NetBSD: apprentice.c,v 1.3 2011/05/13 01:52:13 christos Exp $");
+__RCSID("$NetBSD: apprentice.c,v 1.4 2011/06/23 16:12:36 riz Exp $");
 #endif
 #endif /* lint */
 
@@ -2472,8 +2472,6 @@
        m->in_offset = swap4((uint32_t)m->in_offset);
        m->lineno = swap4((uint32_t)m->lineno);
        if (IS_STRING(m->type)) {
-               if (m->type == FILE_PSTRING)
-                       printf("flags! %d\n", m->str_flags);
                m->str_range = swap4(m->str_range);
                m->str_flags = swap4(m->str_flags);
        }



Home | Main Index | Thread Index | Old Index