Skip to content

Commit 2d6b4ee

Browse files
author
jan.nijtmans
committed
Merge 8.6
2 parents 8afc6ea + 1e9345e commit 2d6b4ee

9 files changed

+362
-360
lines changed

unix/Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ install-libraries: libraries
10951095
@if [ -n "$(TCL_MODULE_PATH)" -a -f $(TOP_DIR)/library/tm.tcl ] ; then \
10961096
echo "Customizing tcl module path"; \
10971097
echo "if {![interp issafe]} { ::tcl::tm::roots [list $(TCL_MODULE_PATH)] }" >> \
1098-
"$(SCRIPT_INSTALL_DIR)/tm.tcl"; \
1098+
"$(SCRIPT_INSTALL_DIR)/tm.tcl"; \
10991099
fi
11001100

11011101
install-tzdata:

unix/installManPage

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Suffix=""
1212

1313
while true; do
1414
case $1 in
15-
-s | --symlinks ) Sym="-s " ;;
16-
-z | --compress ) Gzip=$2; shift ;;
15+
-s | --symlinks ) Sym="-s " ;;
16+
-z | --compress ) Gzip=$2; shift ;;
1717
-e | --extension ) Gz=$2; shift ;;
1818
-x | --suffix ) Suffix=$2; shift ;;
1919
-*) cat <<EOF

unix/tclEpollNotfy.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ PlatformEventsControl(
207207
newEvent.events |= EPOLLOUT;
208208
}
209209
if (isNew) {
210-
newPedPtr = (struct PlatformEventData *)
210+
newPedPtr = (struct PlatformEventData *)
211211
ckalloc(sizeof(struct PlatformEventData));
212-
newPedPtr->filePtr = filePtr;
213-
newPedPtr->tsdPtr = tsdPtr;
212+
newPedPtr->filePtr = filePtr;
213+
newPedPtr->tsdPtr = tsdPtr;
214214
filePtr->pedPtr = newPedPtr;
215215
}
216216
newEvent.data.ptr = filePtr->pedPtr;
@@ -367,8 +367,8 @@ PlatformEventsInit(void)
367367
filePtr->mask = TCL_READABLE;
368368
PlatformEventsControl(filePtr, tsdPtr, EPOLL_CTL_ADD, 1);
369369
if (!tsdPtr->readyEvents) {
370-
tsdPtr->maxReadyEvents = 512;
371-
tsdPtr->readyEvents = (struct epoll_event *) ckalloc(
370+
tsdPtr->maxReadyEvents = 512;
371+
tsdPtr->readyEvents = (struct epoll_event *)ckalloc(
372372
tsdPtr->maxReadyEvents * sizeof(tsdPtr->readyEvents[0]));
373373
}
374374
LIST_INIT(&tsdPtr->firstReadyFileHandlerPtr);

unix/tclLoadOSF.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ TclpDlopen(
124124
*/
125125

126126
if ((pkg = strrchr(fileName, '/')) == NULL) {
127-
pkg = fileName;
127+
pkg = fileName;
128128
} else {
129129
pkg++;
130130
}

unix/tclUnixChan.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1708,11 +1708,11 @@ TtyParseMode(
17081708

17091709
if (
17101710
#if defined(PAREXT)
1711-
strchr("noems", parity)
1711+
strchr("noems", parity)
17121712
#else
1713-
strchr("noe", parity)
1713+
strchr("noe", parity)
17141714
#endif /* PAREXT */
1715-
== NULL) {
1715+
== NULL) {
17161716
if (interp != NULL) {
17171717
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
17181718
"%s parity: should be %s", bad,

unix/tclUnixCompat.c

+8-8
Original file line numberDiff line numberDiff line change
@@ -996,17 +996,17 @@ TclWinCPUID(
996996
/* See: <http://en.wikipedia.org/wiki/CPUID> */
997997
#if defined(__x86_64__) || defined(_M_AMD64) || defined (_M_X64)
998998
__asm__ __volatile__("movq %%rbx, %%rsi \n\t" /* save %rbx */
999-
"cpuid \n\t"
1000-
"xchgq %%rsi, %%rbx \n\t" /* restore the old %rbx */
1001-
: "=a"(regsPtr[0]), "=S"(regsPtr[1]), "=c"(regsPtr[2]), "=d"(regsPtr[3])
1002-
: "a"(index));
999+
"cpuid \n\t"
1000+
"xchgq %%rsi, %%rbx \n\t" /* restore the old %rbx */
1001+
: "=a"(regsPtr[0]), "=S"(regsPtr[1]), "=c"(regsPtr[2]), "=d"(regsPtr[3])
1002+
: "a"(index));
10031003
status = TCL_OK;
10041004
#elif defined(__i386__) || defined(_M_IX86)
10051005
__asm__ __volatile__("mov %%ebx, %%esi \n\t" /* save %ebx */
1006-
"cpuid \n\t"
1007-
"xchg %%esi, %%ebx \n\t" /* restore the old %ebx */
1008-
: "=a"(regsPtr[0]), "=S"(regsPtr[1]), "=c"(regsPtr[2]), "=d"(regsPtr[3])
1009-
: "a"(index));
1006+
"cpuid \n\t"
1007+
"xchg %%esi, %%ebx \n\t" /* restore the old %ebx */
1008+
: "=a"(regsPtr[0]), "=S"(regsPtr[1]), "=c"(regsPtr[2]), "=d"(regsPtr[3])
1009+
: "a"(index));
10101010
status = TCL_OK;
10111011
#else
10121012
(void)index;

0 commit comments

Comments
 (0)