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]

Re: cygserver debug output patch


"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.

Attachment: winsup.patch
Description: Binary data

Attachment: ChangeLog.txt
Description: Text document

Attachment: woutsup.h
Description: Binary data

Attachment: incremental.patch
Description: Binary data


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