Check-in [bb767f3401]
Overview
Comment:Add a patch for TclUDP, which is needed for Android
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:bb767f3401f8dafd164fa16fdbd12b93f79ed4c6
User & Date: rkeene on 2019-01-18 16:01:33
Other Links: manifest | tags
Context
2019-01-18
20:05
Upgrade to Nano 1.2 check-in: 888ee5cc7a user: rkeene tags: trunk
16:01
Add a patch for TclUDP, which is needed for Android check-in: bb767f3401 user: rkeene tags: trunk
15:53
Upgraded to Tcl-LMDB 0.4.0, and fix to link statically check-in: 081b7cf929 user: rkeene tags: trunk
Changes

Added udp/patches/tcludp-1.0.11-fixerrno.diff version [425bc3e545].

            1  +diff --no-dereference -uNr tcludp-1.0.11.orig/generic/udp_tcl.c tcludp-1.0.11-fixerrno/generic/udp_tcl.c
            2  +--- tcludp-1.0.11.orig/generic/udp_tcl.c	2014-08-24 02:17:21.000000000 -0500
            3  ++++ tcludp-1.0.11-fixerrno/generic/udp_tcl.c	2019-01-18 09:57:47.320471347 -0600
            4  +@@ -31,6 +31,9 @@
            5  + #error "Neither sys/ioctl.h nor sys/filio.h found. We need ioctl()"
            6  + #endif
            7  + #endif /* WIN32 */
            8  ++#if defined(HAVE_STRERROR)
            9  ++#include <string.h>
           10  ++#endif
           11  + 
           12  + #if HAVE_FCNTL_H
           13  + #  include <fcntl.h>
           14  +@@ -1833,7 +1836,6 @@
           15  +     Tcl_AppendUnicodeToObj(errObj, (LPWSTR)sMsg, len - 1);
           16  +     LocalFree(sMsg);
           17  + #elif defined(HAVE_STRERROR)
           18  +-    extern int errno;
           19  +     errObj = Tcl_NewStringObj(prefix, -1);
           20  +     Tcl_AppendStringsToObj(errObj, ": ", strerror(errno), NULL);
           21  + #endif