diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-04-17 12:49:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-04-17 12:49:32 (GMT) |
commit | aea602a07ae4eba9adb21f2d11c7f96b5f632f79 (patch) | |
tree | 064f9528be0b6f51e6856319aece81db506308f6 /unix | |
parent | b4ecc6b747780c309fbf05d525ecb3c5f74f3ff2 (diff) | |
download | tcl-aea602a07ae4eba9adb21f2d11c7f96b5f632f79.zip tcl-aea602a07ae4eba9adb21f2d11c7f96b5f632f79.tar.gz tcl-aea602a07ae4eba9adb21f2d11c7f96b5f632f79.tar.bz2 |
Clean-up some unnecessary spacing.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclUnixFCmd.c | 2 | ||||
-rw-r--r-- | unix/tclUnixFile.c | 2 | ||||
-rw-r--r-- | unix/tclUnixPort.h | 6 | ||||
-rw-r--r-- | unix/tclUnixThrd.h | 2 | ||||
-rw-r--r-- | unix/tclUnixTime.c | 4 | ||||
-rw-r--r-- | unix/tclXtTest.c | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index 7360c32..a582223 100644 --- a/unix/tclUnixFCmd.c +++ b/unix/tclUnixFCmd.c @@ -1051,7 +1051,7 @@ TraverseUnixTree( unsigned short pathlen = ent->fts_pathlen - sourceLen; int type; Tcl_StatBuf *statBufPtr = NULL; - + if (info == FTS_DNR || info == FTS_ERR || info == FTS_NS) { errfile = ent->fts_path; break; diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index 038cbf8..3b09799 100644 --- a/unix/tclUnixFile.c +++ b/unix/tclUnixFile.c @@ -332,7 +332,7 @@ TclpMatchInDirectory( matchHiddenPat = (pattern[0] == '.') || ((pattern[0] == '\\') && (pattern[1] == '.')); - matchHidden = matchHiddenPat + matchHidden = matchHiddenPat || (types && (types->perm & TCL_GLOB_PERM_HIDDEN)); while ((entryPtr = TclOSreaddir(d)) != NULL) { /* INTL: Native. */ Tcl_DString utfDs; diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 086dd91..0e1bce8 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -590,8 +590,8 @@ extern char **environ; /* *--------------------------------------------------------------------------- - * The following macros and declarations represent the interface between - * generic and unix-specific parts of Tcl. Some of the macros may override + * The following macros and declarations represent the interface between + * generic and unix-specific parts of Tcl. Some of the macros may override * functions declared in tclInt.h. *--------------------------------------------------------------------------- */ @@ -608,7 +608,7 @@ typedef int socklen_t; #endif /* - * The following macros have trivial definitions, allowing generic code to + * The following macros have trivial definitions, allowing generic code to * address platform-specific issues. */ diff --git a/unix/tclUnixThrd.h b/unix/tclUnixThrd.h index 6a73132..f03b530 100644 --- a/unix/tclUnixThrd.h +++ b/unix/tclUnixThrd.h @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. */ - + #ifndef _TCLUNIXTHRD #define _TCLUNIXTHRD diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c index 4860876..a6572f9 100644 --- a/unix/tclUnixTime.c +++ b/unix/tclUnixTime.c @@ -228,7 +228,7 @@ TclpWideClicksToNanoseconds( #ifdef MAC_OSX_TCL static mach_timebase_info_data_t tb; static uint64_t maxClicksForUInt64; - + if (!tb.denom) { mach_timebase_info(&tb); maxClicksForUInt64 = UINT64_MAX / tb.numer; @@ -251,7 +251,7 @@ TclpWideClicksToNanoseconds( * * TclpWideClickInMicrosec -- * - * This procedure return scale to convert click values from the + * This procedure return scale to convert click values from the * TclpGetWideClicks native resolution to microsecond resolution * and back. * diff --git a/unix/tclXtTest.c b/unix/tclXtTest.c index 8437f2a..1393dfe 100644 --- a/unix/tclXtTest.c +++ b/unix/tclXtTest.c @@ -1,4 +1,4 @@ -/* +/* * tclXtTest.c -- * * Contains commands for Xt notifier specific tests on Unix. |