This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch] debug_printf edits


Here are minor changes that facilitate grepping traces. 

Pierre

2004-11-20  Pierre Humblet <pierre.humblet@ieee.org>

	* fhandler.cc (fhandler::write): Remove debug_printf.
	* pipe.cc (fhandler_pipe::create): Edit syscall_printf format.

Index: fhandler.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/fhandler.cc,v
retrieving revision 1.206
diff -u -p -r1.206 fhandler.cc
--- fhandler.cc 12 Sep 2004 03:47:56 -0000      1.206
+++ fhandler.cc 20 Nov 2004 18:52:33 -0000
@@ -914,7 +914,6 @@ fhandler_base::write (const void *ptr, s
        }
     }
 
-  debug_printf ("%d = write (%p, %d)", res, ptr, len);
   return res;
 }
 
Index: pipe.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/pipe.cc,v
retrieving revision 1.64
diff -u -p -r1.64 pipe.cc
--- pipe.cc     12 Sep 2004 03:47:56 -0000      1.64
+++ pipe.cc     20 Nov 2004 18:52:33 -0000
@@ -380,7 +380,7 @@ fhandler_pipe::create (fhandler_pipe *fh
        }
     }
 
-  syscall_printf ("%d = ([%p, %p], %d, %p)", res, fhs[0], fhs[1], psize,
mode);
+  syscall_printf ("%d = pipe ([%p, %p], %d, %p)", res, fhs[0], fhs[1],
psize, mode);
   return res;
 }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]