Skip to content

Commit 9c21490

Browse files
author
jan.nijtmans
committed
Remove a number of eol-spaces. No change in functionality.
1 parent 6e056b1 commit 9c21490

16 files changed

+94
-94
lines changed

changes

+3-3
Original file line numberDiff line numberDiff line change
@@ -8303,11 +8303,11 @@ reported usage of large expressions (porter)
83038303

83048304
Many optmizations, improvements, and tightened stack management in bytecode.
83058305

8306-
--- Released 8.6.1, September 20, 2013 --- http://core.tcl.tk/tcl/ for details
8306+
--- Released 8.6.1, September 20, 2013 --- http://core.tcl.tk/tcl/ for details
83078307

83088308
2013-09-27 (enhancement) improved ::env synchronization (fellows)
83098309

8310-
2013-10-20 (bug fix)[2835313] segfault from
8310+
2013-10-20 (bug fix)[2835313] segfault from
83118311
[apply {{} {while 1 {a {*}[return -level 0 -code continue]}}}] (fellows)
83128312

83138313
2013-10-22 (bug fix)[3556215] [scan %E%G%X] support (fellows)
@@ -8451,7 +8451,7 @@ include ::oo::class (fellows)
84518451

84528452
2014-08-25 (TIP 429) New command [string cat] (leitgeb,ferrieux)
84538453

8454-
--- Released 8.6.2, August 27, 2014 --- http://core.tcl.tk/tcl/ for details
8454+
--- Released 8.6.2, August 27, 2014 --- http://core.tcl.tk/tcl/ for details
84558455

84568456
2014-08-28 (bug)[b9e1a3] Correct Method Search Order (nadkarni,fellows)
84578457
=> TclOO 1.0.3

license.terms

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ MODIFICATIONS.
2929

3030
GOVERNMENT USE: If you are acquiring this software on behalf of the
3131
U.S. government, the Government shall have only "Restricted Rights"
32-
in the software and related documentation as defined in the Federal
32+
in the software and related documentation as defined in the Federal
3333
Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
3434
are acquiring the software on behalf of the Department of Defense, the
3535
software shall be classified as "Commercial Computer Software" and the
3636
Government shall have only "Restricted Rights" as defined in Clause
3737
252.227-7014 (b) (3) of DFARs. Notwithstanding the foregoing, the
3838
authors grant the U.S. Government and others acting in its behalf
3939
permission to use and distribute the software in accordance with the
40-
terms specified in this license.
40+
terms specified in this license.

macosx/configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
33
dnl generate the file "configure", which is run during Tcl installation
44
dnl to configure the system for the local environment.
55

6-
dnl Ensure that the config (auto)headers support is used, then just
6+
dnl Ensure that the config (auto)headers support is used, then just
77
dnl include the configure sources from ../unix:
88

99
m4_include(../unix/aclocal.m4)

pkgs/README

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ needs to conform to the following conventions.
3636

3737
clean: Delete all files generated by the default build target.
3838

39-
distclean: Delete all generated files.
39+
distclean: Delete all generated files.
4040

4141
dist: Produce a copy of the package's source code distribution.
4242
Must respect the DIST_ROOT variable determining where to
4343
write the generated directory.
4444

4545
Packages that are written to make use of the Tcl Extension Architecture (TEA)
46-
and that make use of the tclconfig collection of support files, should
46+
and that make use of the tclconfig collection of support files, should
4747
conform to these conventions without further efforts.
4848

4949
These conventions are subject to revision and refinement over time to

unix/ldAix

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
#
2+
#
33
# ldAix ldCmd ldArg ldArg ...
44
#
55
# This shell script provides a wrapper for ld under AIX in order to
@@ -40,8 +40,8 @@ rm -f lib.exp
4040
echo "#! $outputFile" >lib.exp
4141
/usr/ccs/bin/nm $nmopts $ofiles | sed -e '/:$/d' -e '/ U /d' -e 's/^\.//' -e 's/[ |].*//' | sort | uniq >>lib.exp
4242

43-
# If we're linking a .a file, then link all the objects together into a
44-
# single file "shr.o" and then put that into the archive. Otherwise link
43+
# If we're linking a .a file, then link all the objects together into a
44+
# single file "shr.o" and then put that into the archive. Otherwise link
4545
# the object files directly into the .a file.
4646

4747
noDotA=`echo $outputFile | sed -e '/\.a$/d'`

unix/tcl.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ CFLAGS="%optflags" ./configure \
3030
--prefix=%{directory} \
3131
--exec-prefix=%{directory} \
3232
--libdir=%{directory}/%{_lib}
33-
make
33+
make
3434

3535
%install
3636
cd unix

unix/tclUnixChan.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ TtySetOptionProc(
792792
*
793793
* Results:
794794
* A standard Tcl result. Also sets the supplied DString to the string
795-
* value of the option(s) returned. Sets error message if needed
795+
* value of the option(s) returned. Sets error message if needed
796796
* (by calling Tcl_BadChannelOption).
797797
*
798798
*----------------------------------------------------------------------
@@ -1201,7 +1201,7 @@ TtyParseMode(
12011201
char parity;
12021202
const char *bad = "bad value for -mode";
12031203

1204-
i = sscanf(mode, "%d,%c,%d,%d%n",
1204+
i = sscanf(mode, "%d,%c,%d,%d%n",
12051205
&ttyPtr->baud,
12061206
&parity,
12071207
&ttyPtr->data,
@@ -1292,7 +1292,7 @@ TtyInit(
12921292
|| iostate.c_lflag != 0
12931293
|| iostate.c_cflag & CREAD
12941294
|| iostate.c_cc[VMIN] != 1
1295-
|| iostate.c_cc[VTIME] != 0)
1295+
|| iostate.c_cc[VTIME] != 0)
12961296
{
12971297
iostate.c_iflag = IGNBRK;
12981298
iostate.c_oflag = 0;
@@ -1824,7 +1824,7 @@ TclUnixWaitForFile(
18241824
if (FD_ISSET(fd, &writableMask)) {
18251825
SET_BITS(result, TCL_WRITABLE);
18261826
}
1827-
if (FD_ISSET(fd, &exceptionMask)) {
1827+
if (FD_ISSET(fd, &exceptionMask)) {
18281828
SET_BITS(result, TCL_EXCEPTION);
18291829
}
18301830
result &= mask;

unix/tclUnixInit.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ TclpSetVariables(
768768
*/
769769

770770
CFLocaleRef localeRef;
771-
771+
772772
if (CFLocaleCopyCurrent != NULL && CFLocaleGetIdentifier != NULL &&
773773
(localeRef = CFLocaleCopyCurrent())) {
774774
CFStringRef locale = CFLocaleGetIdentifier(localeRef);

unix/tclUnixPipe.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ TclpTempFileName(void)
261261
*
262262
* On Unix, it works to load a shared object from a file of any name, so this
263263
* function is merely a thin wrapper around TclpTempFileName().
264-
*
264+
*
265265
*----------------------------------------------------------------------------
266266
*/
267267

@@ -969,7 +969,7 @@ PipeClose2Proc(
969969
pipePtr->outFile = NULL;
970970
}
971971
}
972-
972+
973973
/*
974974
* If half-closing, stop here.
975975
*/

unix/tclUnixSock.c

+25-25
Original file line numberDiff line numberDiff line change
@@ -438,11 +438,11 @@ WaitForConnect(
438438
/*
439439
* Check if an async connect is running. If not return ok
440440
*/
441-
441+
442442
if (!(statePtr->flags & TCP_ASYNC_PENDING)) {
443443
return 0;
444444
}
445-
445+
446446
if (errorCodePtr == NULL || (statePtr->flags & TCP_NONBLOCKING)) {
447447
timeout = 0;
448448
} else {
@@ -601,7 +601,7 @@ TcpCloseProc(
601601
* handlers are already deleted in the generic IO channel closing code
602602
* that called this function, so we do not have to delete them here.
603603
*/
604-
604+
605605
for (fds = &statePtr->fds; fds != NULL; fds = fds->next) {
606606
if (fds->fd < 0) {
607607
continue;
@@ -610,7 +610,7 @@ TcpCloseProc(
610610
if (close(fds->fd) < 0) {
611611
errorCode = errno;
612612
}
613-
613+
614614
}
615615
fds = statePtr->fds.next;
616616
while (fds != NULL) {
@@ -974,7 +974,7 @@ TcpWatchProc(
974974
*/
975975
return;
976976
}
977-
977+
978978
if (statePtr->flags & TCP_ASYNC_PENDING) {
979979
/* Async sockets use a FileHandler internally while connecting, so we
980980
* need to cache this request until the connection has succeeded. */
@@ -1111,7 +1111,7 @@ TcpConnect(
11111111
for (statePtr->myaddr = statePtr->myaddrlist; statePtr->myaddr != NULL;
11121112
statePtr->myaddr = statePtr->myaddr->ai_next) {
11131113
int reuseaddr = 1;
1114-
1114+
11151115
/*
11161116
* No need to try combinations of local and remote addresses of
11171117
* different families.
@@ -1141,15 +1141,15 @@ TcpConnect(
11411141
* Set the close-on-exec flag so that the socket will not get
11421142
* inherited by child processes.
11431143
*/
1144-
1144+
11451145
fcntl(statePtr->fds.fd, F_SETFD, FD_CLOEXEC);
1146-
1146+
11471147
/*
11481148
* Set kernel space buffering
11491149
*/
1150-
1150+
11511151
TclSockMinimumBuffers(INT2PTR(statePtr->fds.fd), SOCKET_BUFSIZE);
1152-
1152+
11531153
if (async) {
11541154
ret = TclUnixSetBlockingMode(statePtr->fds.fd,TCL_MODE_NONBLOCKING);
11551155
if (ret < 0) {
@@ -1160,7 +1160,7 @@ TcpConnect(
11601160
/* Gotta reset the error variable here, before we use it for the
11611161
* first time in this iteration. */
11621162
error = 0;
1163-
1163+
11641164
(void) setsockopt(statePtr->fds.fd, SOL_SOCKET, SO_REUSEADDR,
11651165
(char *) &reuseaddr, sizeof(reuseaddr));
11661166
ret = bind(statePtr->fds.fd, statePtr->myaddr->ai_addr,
@@ -1176,7 +1176,7 @@ TcpConnect(
11761176
* will set up a file handler on the socket if she is interested
11771177
* in being informed when the connect completes.
11781178
*/
1179-
1179+
11801180
ret = connect(statePtr->fds.fd, statePtr->addr->ai_addr,
11811181
statePtr->addr->ai_addrlen);
11821182
if (ret < 0) error = errno;
@@ -1459,28 +1459,28 @@ Tcl_OpenTcpServer(
14591459
}
14601460
continue;
14611461
}
1462-
1462+
14631463
/*
14641464
* Set the close-on-exec flag so that the socket will not get
14651465
* inherited by child processes.
14661466
*/
1467-
1467+
14681468
fcntl(sock, F_SETFD, FD_CLOEXEC);
1469-
1469+
14701470
/*
14711471
* Set kernel space buffering
14721472
*/
1473-
1473+
14741474
TclSockMinimumBuffers(INT2PTR(sock), SOCKET_BUFSIZE);
1475-
1475+
14761476
/*
14771477
* Set up to reuse server addresses automatically and bind to the
14781478
* specified port.
14791479
*/
1480-
1481-
(void) setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,
1480+
1481+
(void) setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,
14821482
(char *) &reuseaddr, sizeof(reuseaddr));
1483-
1483+
14841484
/*
14851485
* Make sure we use the same port number when opening two server
14861486
* sockets for IPv4 and IPv6 on a random port.
@@ -1509,7 +1509,7 @@ Tcl_OpenTcpServer(
15091509
if (howfar < BIND) {
15101510
howfar = BIND;
15111511
my_errno = errno;
1512-
}
1512+
}
15131513
close(sock);
15141514
sock = -1;
15151515
continue;
@@ -1541,7 +1541,7 @@ Tcl_OpenTcpServer(
15411541
/*
15421542
* Allocate a new TcpState for this socket.
15431543
*/
1544-
1544+
15451545
statePtr = ckalloc(sizeof(TcpState));
15461546
memset(statePtr, 0, sizeof(TcpState));
15471547
statePtr->acceptProc = acceptProc;
@@ -1556,12 +1556,12 @@ Tcl_OpenTcpServer(
15561556
newfds->fd = sock;
15571557
newfds->statePtr = statePtr;
15581558
fds = newfds;
1559-
1559+
15601560
/*
15611561
* Set up the callback mechanism for accepting connections from new
15621562
* clients.
15631563
*/
1564-
1564+
15651565
Tcl_CreateFileHandler(sock, TCL_READABLE, TcpAccept, fds);
15661566
}
15671567

@@ -1620,7 +1620,7 @@ TcpAccept(
16201620
socklen_t len; /* For accept interface */
16211621
char channelName[SOCK_CHAN_LENGTH];
16221622
char host[NI_MAXHOST], port[NI_MAXSERV];
1623-
1623+
16241624
len = sizeof(addr);
16251625
newsock = accept(fds->fd, &addr.sa, &len);
16261626
if (newsock < 0) {

unix/tclUnixThrd.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* See the file "license.terms" for information on usage and redistribution
99
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
1010
*/
11-
11+
1212
#ifndef _TCLUNIXTHRD
1313
#define _TCLUNIXTHRD
1414

unix/tclUnixTime.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ TclpWideClicksToNanoseconds(
199199
#ifdef MAC_OSX_TCL
200200
static mach_timebase_info_data_t tb;
201201
static uint64_t maxClicksForUInt64;
202-
202+
203203
if (!tb.denom) {
204204
mach_timebase_info(&tb);
205205
maxClicksForUInt64 = UINT64_MAX / tb.numer;

win/tclConfig.sh.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# tclConfig.sh --
2-
#
2+
#
33
# This shell script (for sh) is generated automatically by Tcl's
44
# configure script. It will create shell variables for most of
55
# the configuration options discovered by the configure script.

win/tclWinConsole.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ ConsoleInputProc(
761761
* by the caller. In practice this is harmless, since all writes
762762
* are into ChannelBuffers, and those have padding, but still
763763
* ought to remove this, unless some Windows wizard can give
764-
* a reason not to.
764+
* a reason not to.
765765
*/
766766
buf[count] = '\0';
767767
return count;

win/tclWinSerial.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ SerialWriterThread(
14151415
* Opens or Reopens the serial port with the OVERLAPPED FLAG set
14161416
*
14171417
* Results:
1418-
* Returns the new handle, or INVALID_HANDLE_VALUE.
1418+
* Returns the new handle, or INVALID_HANDLE_VALUE.
14191419
* If an existing channel is specified it is closed and reopened.
14201420
*
14211421
* Side effects:

0 commit comments

Comments
 (0)