Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-11-27
09:30 • Closed ticket [561305ffff]: winsock2.h has function typedefs, let's use them... artifact: e1ecad94ed user: davygrvy
2002-09-01
07:20 • Ticket [561305ffff]: 1 change artifact: 4559ed92ca user: davygrvy
2002-08-08
16:58 • Open ticket [561305ffff]. artifact: f29cc5c8f8 user: davygrvy
15:10 • Ticket [561305ffff]: 7 changes artifact: c724724b02 user: hobbs
15:10 • Pending ticket [561305ffff]. artifact: 6d5528dab5 user: hobbs
2002-06-11
05:00 • Ticket [561305ffff]: 1 change artifact: 64c07ba554 user: davygrvy
2002-05-28
07:37 • Add attachment patch.txt to ticket [561305ffff] artifact: e509639f11 user: davygrvy
07:37 • Ticket [561305ffff] winsock2.h has func typedefs, let's use status stil... artifact: 8bf84abeea user: davygrvy
00:37 • New ticket [561305ffff]. artifact: d1ef1af45c user: davygrvy

winsock2.h has function typedefs, let's use them.

Closed / Accepted561305ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 24 years ago
Descriptionplain2002-05-28 00:37:32
winsock2.h provides function typedefs, as well as, 
prototypes.  Let's use the header file provided typedefs 
in place of our own.  This allows the source to be more 
readable.  The patch isn't complete, as my uneditted diff 
includes at least a dozen catagories of enhancements.

We might consider exporting the function table for 
extensions.  I know I'd use it, if it was exported.
davygrvyplain2002-05-28 07:37:32
File Added - 23848: patch.txt
davygrvy Ticket [561305ffff]: 1 change [History diff]2002-06-11 05:00:41
hobbs Pending ticket [561305ffff]. [History diff]2002-08-08 15:10:29
hobbsplain2002-08-08 15:10:30
Logged In: YES 
user_id=72656

This patch appears incomplete - it doesn't take into account 
SocketsEnabled, which is called all over tclWinSock.c, but 
this breaks it ... :(.
davygrvyplain2002-08-08 16:58:27
Logged In: YES 
user_id=7549

***************
*** 502,508 ****
  {
      int enabled;
      Tcl_MutexLock(&socketMutex);
!     enabled = (winSock.hInstance != NULL);
      Tcl_MutexUnlock(&socketMutex);
      return enabled;
  }
--- 479,485 ----
  {
      int enabled;
      Tcl_MutexLock(&socketMutex);
!     enabled = (winSock.hModule != NULL);
      Tcl_MutexUnlock(&socketMutex);
      return enabled;
  }
davygrvy Ticket [561305ffff]: 1 change [History diff]2002-09-01 07:20:39
davygrvyplain2002-11-27 09:30:50
Logged In: YES 
user_id=7549

committed to HEAD
Log in (anonymous is fine) to add a comment.

Attachments: