summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2024-06-04 15:35:14 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2024-06-04 15:35:14 (GMT)
commit14e9a4e0bda3c86ac11baf3c11f900a5837ea70a (patch)
treeea245cdd3ace1d0ea075a51e59d0b5044fc86bf2 /unix
parent1719e80d015d40d514bb9209a921525b2d667d9c (diff)
downloadtcl-14e9a4e0bda3c86ac11baf3c11f900a5837ea70a.zip
tcl-14e9a4e0bda3c86ac11baf3c11f900a5837ea70a.tar.gz
tcl-14e9a4e0bda3c86ac11baf3c11f900a5837ea70a.tar.bz2
Space before tab is an extremely unlikely to be correct indentation pattern
Diffstat (limited to 'unix')
-rw-r--r--unix/tclEpollNotfy.c2
-rw-r--r--unix/tclKqueueNotfy.c2
-rw-r--r--unix/tclLoadDl.c8
-rw-r--r--unix/tclLoadDyld.c8
-rw-r--r--unix/tclUnixFCmd.c14
-rw-r--r--unix/tclUnixNotfy.c6
-rw-r--r--unix/tclUnixSock.c10
-rw-r--r--unix/tclUnixTime.c2
8 files changed, 26 insertions, 26 deletions
diff --git a/unix/tclEpollNotfy.c b/unix/tclEpollNotfy.c
index 2a1733a..8cb9166 100644
--- a/unix/tclEpollNotfy.c
+++ b/unix/tclEpollNotfy.c
@@ -263,7 +263,7 @@ PlatformEventsControl(
* None.
*
* Side effects:
- * While tsdPtr->notifierMutex is held:
+ * While tsdPtr->notifierMutex is held:
* - The per-thread eventfd(2) is closed, if non-zero, and set to -1.
* - The per-thread epoll(7) fd is closed, if non-zero, and set to 0.
* - The per-thread epoll_event structs are freed, if any, and set to 0.
diff --git a/unix/tclKqueueNotfy.c b/unix/tclKqueueNotfy.c
index ba49842..a99f7bd 100644
--- a/unix/tclKqueueNotfy.c
+++ b/unix/tclKqueueNotfy.c
@@ -261,7 +261,7 @@ PlatformEventsControl(
* None.
*
* Side effects:
- * While tsdPtr->notifierMutex is held:
+ * While tsdPtr->notifierMutex is held:
* The per-thread pipe(2) fds are closed, if non-zero, and set to -1.
* The per-thread kqueue(2) fd is closed, if non-zero, and set to 0.
* The per-thread kevent structs are freed, if any, and set to 0.
diff --git a/unix/tclLoadDl.c b/unix/tclLoadDl.c
index 23565c5..07bbc16 100644
--- a/unix/tclLoadDl.c
+++ b/unix/tclLoadDl.c
@@ -88,14 +88,14 @@ TclpDlopen(
* Use (RTLD_NOW|RTLD_LOCAL) as default, see [Bug #3216070]
*/
if (flags & TCL_LOAD_GLOBAL) {
- dlopenflags |= RTLD_GLOBAL;
+ dlopenflags |= RTLD_GLOBAL;
} else {
- dlopenflags |= RTLD_LOCAL;
+ dlopenflags |= RTLD_LOCAL;
}
if (flags & TCL_LOAD_LAZY) {
- dlopenflags |= RTLD_LAZY;
+ dlopenflags |= RTLD_LAZY;
} else {
- dlopenflags |= RTLD_NOW;
+ dlopenflags |= RTLD_NOW;
}
handle = dlopen(native, dlopenflags);
if (handle == NULL) {
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c
index 54290ec..5b1062e 100644
--- a/unix/tclLoadDyld.c
+++ b/unix/tclLoadDyld.c
@@ -197,14 +197,14 @@ TclpDlopen(
*/
if (flags & TCL_LOAD_GLOBAL) {
- dlopenflags |= RTLD_GLOBAL;
+ dlopenflags |= RTLD_GLOBAL;
} else {
- dlopenflags |= RTLD_LOCAL;
+ dlopenflags |= RTLD_LOCAL;
}
if (flags & TCL_LOAD_LAZY) {
- dlopenflags |= RTLD_LAZY;
+ dlopenflags |= RTLD_LAZY;
} else {
- dlopenflags |= RTLD_NOW;
+ dlopenflags |= RTLD_NOW;
}
dlHandle = dlopen(nativePath, dlopenflags);
if (!dlHandle) {
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c
index b65cdb1..fab9c32 100644
--- a/unix/tclUnixFCmd.c
+++ b/unix/tclUnixFCmd.c
@@ -809,7 +809,7 @@ TclpObjCopyDirectory(
* EEXIST: path is a non-empty directory.
* EINVAL: path is a root directory.
* ENOENT: path doesn't exist or is "".
- * ENOTDIR: path is not a directory.
+ * ENOTDIR: path is not a directory.
*
* Side effects:
* Directory removed. If an error occurs, the error will be returned
@@ -953,12 +953,12 @@ TraverseUnixTree(
* filled with UTF-8 name of file causing
* error. */
int doRewind) /* Flag indicating that to ensure complete
- * traversal of source hierarchy, the readdir
- * loop should be rewound whenever
- * traverseProc has returned TCL_OK; this is
- * required when traverseProc modifies the
- * source hierarchy, e.g. by deleting
- * files. */
+ * traversal of source hierarchy, the readdir
+ * loop should be rewound whenever
+ * traverseProc has returned TCL_OK; this is
+ * required when traverseProc modifies the
+ * source hierarchy, e.g. by deleting
+ * files. */
{
Tcl_StatBuf statBuf;
const char *source, *errfile;
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c
index 984ee2f..8ffea58 100644
--- a/unix/tclUnixNotfy.c
+++ b/unix/tclUnixNotfy.c
@@ -360,12 +360,12 @@ AlertSingleThread(
*/
if (tsdPtr->prevPtr) {
- tsdPtr->prevPtr->nextPtr = tsdPtr->nextPtr;
+ tsdPtr->prevPtr->nextPtr = tsdPtr->nextPtr;
} else {
- waitingListPtr = tsdPtr->nextPtr;
+ waitingListPtr = tsdPtr->nextPtr;
}
if (tsdPtr->nextPtr) {
- tsdPtr->nextPtr->prevPtr = tsdPtr->prevPtr;
+ tsdPtr->nextPtr->prevPtr = tsdPtr->prevPtr;
}
tsdPtr->nextPtr = tsdPtr->prevPtr = NULL;
tsdPtr->onList = 0;
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c
index 78ed008..11193b7 100644
--- a/unix/tclUnixSock.c
+++ b/unix/tclUnixSock.c
@@ -204,8 +204,8 @@ printaddrinfo(
*
* InitializeHostName --
*
- * This routine sets the process global value of the name of the local
- * host on which the process is running.
+ * This routine sets the process global value of the name of the local
+ * host on which the process is running.
*
* Results:
* None.
@@ -400,8 +400,8 @@ TcpBlockModeProc(
* return any error code.
*
* Results:
- * 0 if the connection has completed, -1 if still in progress or there is
- * an error.
+ * 0 if the connection has completed, -1 if still in progress or there is
+ * an error.
*
* Side effects:
* Processes socket events off the system queue. May process
@@ -1183,7 +1183,7 @@ TcpWatchProc(
* from interfering with the -accept behavior (bug #3394732).
*/
- return;
+ return;
}
if (GOT_BITS(statePtr->flags, TCP_ASYNC_PENDING)) {
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c
index 20b9a67..29146aa 100644
--- a/unix/tclUnixTime.c
+++ b/unix/tclUnixTime.c
@@ -246,7 +246,7 @@ TclpWideClicksToNanoseconds(
* and back.
*
* Results:
- * 1 click in microseconds as double.
+ * 1 click in microseconds as double.
*
* Side effects:
* None.