Overview
| Artifact ID: | 033d27c1d82f9c479946196a36e18470b6793e13 |
|---|---|
| Ticket: | 561301ffffffffffffffffffffffffffffffffff
#define layering in tclWinSock.c |
| User & Date: | davygrvy on 2002-05-28 00:27:06 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
win/tclWinPort.h sets the following defines: /* * The following defines map from standard socket names to our internal * wrappers that redirect through the winSock function table (see the * file tclWinSock.c). */ #define getservbynameTclWinGetServByName #define getsockoptTclWinGetSockOpt #define ntohsTclWinNToHS #define setsockoptTclWinSetSockOpt These are not undefined when building tclWinSock.c, so the winSock function table (internally) has winSock.TclWinNToHS for what should be winSock.ntohs as the symbol name. This isn't causing any confusion as TclWinNToHS() calls winSock.TclWinNToHS, but isn't a good way of doing things and isn't what was meant to happen. Reminds me of the #define panic in tcl.h that causes problems in Berkeley DB as it uses panic in a structure name, and has caused a whole mess of problems for me in the past.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "davygrvy"
- subsystem changed to: "25. Channel System"
- title changed to: "#define layering in tclWinSock.c"
- type changed to: "Patch"