cygserver debug output patch

Conrad Scott Conrad.Scott@dsl.pipex.com
Mon Jun 10 16:01:00 GMT 2002


"Conrad Scott" <Conrad.Scott@dsl.pipex.com> wrote:
> I've made some changes to the cygserver code to "harmonize" the debugging
> output.

I also realise, now that I come to run things *without* cygserver running,
that I've made things *far* too noisy. So, here's a replacement for the
previous patch that calms things down somewhat (i.e. the winsup.patch
attached to this email supercedes the previous email's one). This version
doesn't generate any output to stderr in normal running except for the
cygserver itself (I think, hope and pray etc.).

I've also attached an incremental patch (from the last version to this) for
those who've already applied that patch (sorry about that Nicholas).

Anyhow, enjoy etc.

// Conrad

2002-06-10  Conrad Scott  <conrad.scott@dsl.pipex.com>

 * cygserver.cc: Move to "woutsup.h". Use new XXX_printf functions
 throughout.
 * cygserver_client.cc: Ditto.
 * cygserver_process.cc: Ditto.
 (process_init): Initialise with PTHREAD_ONCE_INIT.
 * cygserver_shm.cc: Move to "woutsup.h". Use new XXX_printf
 functions throughout.
 * cygserver_transport.cc: Ditto.
 (transport_layer_base::transport_layer_base): Removed (redundant).
 (transport_layer_base::listen): Now pure virtual.
 (transport_layer_base::accept): Ditto.
 (transport_layer_base::close): Ditto.
 (transport_layer_base::read): Ditto.
 (transport_layer_base::write): Ditto.
 (transport_layer_base::connect): Ditto.
 * cygserver_transport_pipes.cc: Move to "woutsup.h". Use new
 XXX_printf functions throughout.
 * cygserver_transport_sockets.cc: Ditto.
 * threaded_queue.cc: Ditto.
 * woutsup.h: New file.
 * include/cygwin/cygserver_transport.h
 (transport_layer_base::transport_layer_base): Removed (redundant).
 (transport_layer_base::listen): Now pure virtual.
 (transport_layer_base::accept): Ditto.
 (transport_layer_base::close): Ditto.
 (transport_layer_base::read): Ditto.
 (transport_layer_base::write): Ditto.
 (transport_layer_base::connect): Ditto.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winsup.patch
Type: application/octet-stream
Size: 38961 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020610/a1d2fe77/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ChangeLog.txt
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020610/a1d2fe77/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: woutsup.h
Type: application/octet-stream
Size: 2595 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020610/a1d2fe77/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: incremental.patch
Type: application/octet-stream
Size: 902 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020610/a1d2fe77/attachment-0002.obj>


More information about the Cygwin-patches mailing list