Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 58bfbda

Browse files
committed
Import Tcl 8.6.13
1 parent ee45625 commit 58bfbda

File tree

762 files changed

+91317
-80442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

762 files changed

+91317
-80442
lines changed

.travis.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,6 @@ jobs:
197197
script:
198198
- cmd.exe //C vcvarsall.bat x64 '&&' nmake '-f' makefile.vc all tcltest
199199
- cmd.exe //C vcvarsall.bat x64 '&&' nmake '-f' makefile.vc test
200-
- name: "Windows/MSVC/Shared: UTF_MAX=4"
201-
os: windows
202-
compiler: cl
203-
env: *vcenv
204-
before_install: *vcpreinst
205-
install: []
206-
script:
207-
- cmd.exe //C vcvarsall.bat x64 '&&' nmake 'OPTS=utfmax' '-f' makefile.vc all tcltest
208-
- cmd.exe //C vcvarsall.bat x64 '&&' nmake 'OPTS=utfmax' '-f' makefile.vc test
209200
- name: "Windows/MSVC/Static"
210201
os: windows
211202
compiler: cl
@@ -252,15 +243,6 @@ jobs:
252243
script:
253244
- cmd.exe //C vcvarsall.bat x86 '&&' nmake '-f' makefile.vc all tcltest
254245
- cmd.exe //C vcvarsall.bat x86 '&&' nmake '-f' makefile.vc test
255-
- name: "Windows/MSVC-x86/Shared: UTF_MAX=4"
256-
os: windows
257-
compiler: cl
258-
env: *vcenv
259-
before_install: *vcpreinst
260-
install: []
261-
script:
262-
- cmd.exe //C vcvarsall.bat x86 '&&' nmake 'OPTS=utfmax' '-f' makefile.vc all tcltest
263-
- cmd.exe //C vcvarsall.bat x86 '&&' nmake 'OPTS=utfmax' '-f' makefile.vc test
264246
- name: "Windows/MSVC-x86/Static"
265247
os: windows
266248
compiler: cl

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# README: Tcl
22

3-
This is the **Tcl 8.6.12** source distribution.
3+
This is the **Tcl 8.6.13** source distribution.
44

55
You can get any source release of Tcl from [our distribution
66
site](https://sourceforge.net/projects/tcl/files/Tcl/).

changes

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9116,3 +9116,54 @@ See RFC 2045
91169116
2021-10-27 tzdata updated to Olson's tzdata2021e (nijtmans)
91179117

91189118
- Released 8.6.12, Nov 5, 2021 - details at https://core.tcl-lang.org/tcl/ -
9119+
9120+
2021-12-08 (update) tcltest package to version 2.5.4
9121+
9122+
2022-01-13 (bug)[26f132] Crash when sizeof(int) < sizeof(void *) (Plan 9 port)
9123+
9124+
2022-01-19 (TIP 623)[e9a271] Tcl_GetRange index args < 0 (petasis,nijtmans)
9125+
9126+
2022-03-08 (bug) test string-5.22 (porter)
9127+
9128+
2022-03-11 (bug)[8a7ec8] fat binary compile on Mac M1 (davis, nijtmans)
9129+
9130+
2022-04-04 (bug)[e5ed1b] numeric IPv6 in URLs (nijtmans)
9131+
=> http 2.9.6
9132+
9133+
2022-04-26 (bug)[27520c] test error-9.6 (goth,sebres)
9134+
9135+
2022-05-04 (bug)[8eb64b] http package tolerant again invalid reply header
9136+
9137+
2022-05-11 (bug)[6898f9] http package failed detection of shiftjis charset
9138+
9139+
2022-05-25 (bug)[76ad7a] tests string-6.13[23] (mistachkin, nijtmans)
9140+
9141+
2022-06-20 (bug)[55bf73] Avoid connection reuse after response code 101.
9142+
=> http 2.9.8
9143+
9144+
2022-07-22 (bug)[713653] FP rounding exposed by x86 musl (rubicon,sebres)
9145+
9146+
2022-07-22 More portable notation of microseconds in verbose output (sebres)
9147+
=> tcltest 2.5.5
9148+
9149+
2022-07-27 (bug)[b3977d] Process CR-LF split across packets (nadkarni,sebres)
9150+
9151+
2022-07-29 (bug)[4eb3a1] crash due to undetected bytecode invalidity (nadkarni)
9152+
9153+
2022-08-23 (new)[371080] Portability to CHERI-enabled Morello processor (jrtc27)
9154+
9155+
2022-09-06 (bug)[55a02f] Fallback init env(HOME) from USERPROFILE (nadkarni)
9156+
9157+
2022-09-13 (bug)[1073da] crash writing invalid utf-8 (nijtmans)
9158+
9159+
2022-09-14 (new) Update to Unicode-15 (nijtmans)
9160+
9161+
2022-10-14 tzdata updated to Olson's tzdata2022e (nijtmans)
9162+
9163+
Update bundled zlib to 1.2.13
9164+
9165+
Update bundled libtommath
9166+
9167+
Many code fixes to avoid overflow or undefined behavior. Thanks chrstphrchvz.
9168+
9169+
- Released 8.6.13, Nov 22, 2022 - details at https://core.tcl-lang.org/tcl/ -

compat/stdlib.h

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* This file isn't complete in the ANSI-C sense; it only declares things
66
* that are needed by Tcl. This file is needed even on many systems with
77
* their own stdlib.h (e.g. SunOS) because not all stdlib.h files declare
8-
* all the procedures needed here (such as strtod).
8+
* all the procedures needed here (such as strtol/strtoul).
99
*
1010
* Copyright (c) 1991 The Regents of the University of California.
1111
* Copyright (c) 1994-1998 Sun Microsystems, Inc.
@@ -21,14 +21,18 @@ extern void abort(void);
2121
extern double atof(const char *string);
2222
extern int atoi(const char *string);
2323
extern long atol(const char *string);
24-
extern char * calloc(unsigned int numElements, unsigned int size);
24+
extern void * calloc(unsigned long numElements, unsigned long size);
2525
extern void exit(int status);
26-
extern int free(char *blockPtr);
26+
extern void free(void *blockPtr);
2727
extern char * getenv(const char *name);
28-
extern char * malloc(unsigned int numBytes);
29-
extern void qsort(void *base, int n, int size, int (*compar)(
28+
extern void * malloc(unsigned long numBytes);
29+
extern void qsort(void *base, unsigned long n, unsigned long size, int (*compar)(
3030
const void *element1, const void *element2));
31-
extern char * realloc(char *ptr, unsigned int numBytes);
31+
extern void * realloc(void *ptr, unsigned long numBytes);
32+
extern char * realpath(const char *path, char *resolved_path);
33+
extern int mkstemps(char *templ, int suffixlen);
34+
extern int mkstemp(char *templ);
35+
extern char * mkdtemp(char *templ);
3236
extern long strtol(const char *string, char **endPtr, int base);
3337
extern unsigned long strtoul(const char *string, char **endPtr, int base);
3438

compat/unistd.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <sys/types.h>
1818

1919
#ifndef NULL
20-
#define NULL 0
20+
# define NULL 0
2121
#endif
2222

2323
/*
@@ -35,9 +35,9 @@ extern int dup2(int oldfd, int newfd);
3535
extern int execl(const char *path, ...);
3636
extern int execle(const char *path, ...);
3737
extern int execlp(const char *file, ...);
38-
extern int execv(const char *path, char **argv);
39-
extern int execve(const char *path, char **argv, char **envp);
40-
extern int execvpw(const char *file, char **argv);
38+
extern int execv(const char *path, char *const argv[]);
39+
extern int execve(const char *path, char *const argv[], char *const *envp);
40+
extern int execvp(const char *file, char *const argv[]);
4141
extern pid_t fork(void);
4242
extern char * getcwd(char *buf, size_t size);
4343
extern gid_t getegid(void);
@@ -65,7 +65,7 @@ extern int ftruncate(int fd, unsigned long length);
6565
extern int ioctl(int fd, int request, ...);
6666
extern int readlink(const char *path, char *buf, int bufsize);
6767
extern int setegid(gid_t group);
68-
extern int seteuidw(uid_t user);
68+
extern int seteuid(uid_t user);
6969
extern int setreuid(int ruid, int euid);
7070
extern int symlink(const char *, const char *);
7171
extern int ttyslot(void);

compat/zlib/CMakeLists.txt

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
33

44
project(zlib C)
55

6-
set(VERSION "1.2.11")
7-
8-
option(ASM686 "Enable building i686 assembly implementation")
9-
option(AMD64 "Enable building amd64 assembly implementation")
6+
set(VERSION "1.2.13")
107

118
set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for executables")
129
set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries")
@@ -129,39 +126,6 @@ if(NOT MINGW)
129126
)
130127
endif()
131128

132-
if(CMAKE_COMPILER_IS_GNUCC)
133-
if(ASM686)
134-
set(ZLIB_ASMS contrib/asm686/match.S)
135-
elseif (AMD64)
136-
set(ZLIB_ASMS contrib/amd64/amd64-match.S)
137-
endif ()
138-
139-
if(ZLIB_ASMS)
140-
add_definitions(-DASMV)
141-
set_source_files_properties(${ZLIB_ASMS} PROPERTIES LANGUAGE C COMPILE_FLAGS -DNO_UNDERLINE)
142-
endif()
143-
endif()
144-
145-
if(MSVC)
146-
if(ASM686)
147-
ENABLE_LANGUAGE(ASM_MASM)
148-
set(ZLIB_ASMS
149-
contrib/masmx86/inffas32.asm
150-
contrib/masmx86/match686.asm
151-
)
152-
elseif (AMD64)
153-
ENABLE_LANGUAGE(ASM_MASM)
154-
set(ZLIB_ASMS
155-
contrib/masmx64/gvmat64.asm
156-
contrib/masmx64/inffasx64.asm
157-
)
158-
endif()
159-
160-
if(ZLIB_ASMS)
161-
add_definitions(-DASMV -DASMINF)
162-
endif()
163-
endif()
164-
165129
# parse the full version number from zlib.h and include in ZLIB_FULL_VERSION
166130
file(READ ${CMAKE_CURRENT_SOURCE_DIR}/zlib.h _zlib_h_contents)
167131
string(REGEX REPLACE ".*#define[ \t]+ZLIB_VERSION[ \t]+\"([-0-9A-Za-z.]+)\".*"
@@ -183,8 +147,8 @@ if(MINGW)
183147
set(ZLIB_DLL_SRCS ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj)
184148
endif(MINGW)
185149

186-
add_library(zlib SHARED ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_DLL_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
187-
add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
150+
add_library(zlib SHARED ${ZLIB_SRCS} ${ZLIB_DLL_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
151+
add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
188152
set_target_properties(zlib PROPERTIES DEFINE_SYMBOL ZLIB_DLL)
189153
set_target_properties(zlib PROPERTIES SOVERSION 1)
190154

0 commit comments

Comments
 (0)