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