Check-in [fa28281e24]
Bounty program for improvements to Tcl and certain Tcl packages.
Overview
Comment:Removed printf
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: fa28281e24a0ab1c47637ccf874fb85c70c9b776
User & Date: welch on 2000-06-02 05:14:46
Other Links: manifest | tags
Context
2000-06-02
18:47
Preliminary version of Tcl's socket.test modified for tls. check-in: e8ea3bd13a user: awb tags: trunk
05:14
Removed printf check-in: fa28281e24 user: welch tags: trunk
2000-06-01
22:34
*** empty log message *** check-in: 0d55961d2f user: stanton tags: trunk
Changes

Modified tlsIO.c from [f528e682ea] to [917446d5a9].

     1      1   /*
     2      2    * Copyright (C) 1997-2000 Matt Newman <[email protected]>
     3      3    *
     4         - * $Header: /home/rkeene/tmp/cvs2fossil/../tcltls/tls/tls/tlsIO.c,v 1.5 2000/06/01 22:34:01 stanton Exp $
            4  + * $Header: /home/rkeene/tmp/cvs2fossil/../tcltls/tls/tls/tlsIO.c,v 1.6 2000/06/02 05:14:46 welch Exp $
     5      5    *
     6      6    * TLS (aka SSL) Channel - can be layered on any bi-directional
     7      7    * Tcl_Channel (Note: Requires Trf Core Patch)
     8      8    *
     9      9    * This was built from scratch based upon observation of OpenSSL 0.9.2B
    10     10    *
    11     11    * Addition credit is due for Andreas Kupries ([email protected]), for
................................................................................
   483    483   	mask |= TCL_READABLE;
   484    484       }
   485    485   
   486    486       /*
   487    487        * The following NotifyChannel calls seems to be important, but
   488    488        * we don't know why.  It looks like if the mask is ever non-zero
   489    489        * that it will enter an infinite loop.
   490         -     */
   491         -
   492         -    if (mask & TCL_WRITABLE) {
   493         -	fprintf(stderr, "ChannelHandler: mask is writable\n");
   494         -    }
   495         -    if (mask & TCL_READABLE) {
   496         -	fprintf(stderr, "ChannelHandler: mask is readable\n");
   497         -    }
   498         -
   499         -    /*
          490  +     *
   500    491        * Notify the upper channel of the current BIO state so the event
   501    492        * continues to propagate up the chain.
   502    493        *
   503    494        * stanton: It looks like this could result in an infinite loop if
   504    495        * the upper channel doesn't cause ChannelHandler to be removed
   505    496        * before Tcl_NotifyChannel calls channel handlers on the lower channel.
   506    497        */