Overview
| Artifact ID: | 1521a89ae5ea063ae877805857ebe15ef4e823b9 |
|---|---|
| Ticket: | 771944ffffffffffffffffffffffffffffffffff
tclIOSock.c: compiler warning |
| User & Date: | davygrvy on 2004-05-14 08:36:34 |
Changes
- icomment:
Logged In: YES user_id=7549 IMO, TclSockMinimumBuffers shouldn't be in the generic layer. It's wrought in type casting for no good reason. The void* trick could probably work for forcing typeless, but isn't this really saying something more about how this should get moved to the socket channel driver implementation instead? No where does the generic layer call this function. Only channel drivers themselves call it. And when it does, the win32 code won't have to cast from SOCKET to int and the socklen_t thing is strange for win32. unix\tclUnixChan.c(2514): TclSockMinimumBuffers(sock, SOCKET_BUFSIZE); win\tclWinSock.c(1134): TclSockMinimumBuffers((int) sock, TCP_BUFFER_SIZE); win\tclWinSock.c(1495): TclSockMinimumBuffers((int) sock, TCP_BUFFER_SIZE);
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"