diff options
| author | nijtmans <nijtmans> | 2009-02-03 23:10:57 (GMT) | 
|---|---|---|
| committer | nijtmans <nijtmans> | 2009-02-03 23:10:57 (GMT) | 
| commit | ae7e130ccddfb607013bf21df66a85929425d467 (patch) | |
| tree | a72237070484512e9aa19c3f44b7ed7313fe1086 /unix/tclUnixFile.c | |
| parent | 88728de8d96f0fb5b4cf9f612756e1c969cdfbcc (diff) | |
| download | tcl-ae7e130ccddfb607013bf21df66a85929425d467.zip tcl-ae7e130ccddfb607013bf21df66a85929425d467.tar.gz tcl-ae7e130ccddfb607013bf21df66a85929425d467.tar.bz2  | |
- eliminate some unnessary type casts
- some internal const decorations
- spacing
Diffstat (limited to 'unix/tclUnixFile.c')
| -rw-r--r-- | unix/tclUnixFile.c | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index a24966c..8eabbbb 100644 --- a/unix/tclUnixFile.c +++ b/unix/tclUnixFile.c @@ -9,7 +9,7 @@   * See the file "license.terms" for information on usage and redistribution of   * this file, and for a DISCLAIMER OF ALL WARRANTIES.   * - * RCS: @(#) $Id: tclUnixFile.c,v 1.53 2008/04/27 22:21:34 dkf Exp $ + * RCS: @(#) $Id: tclUnixFile.c,v 1.54 2009/02/03 23:10:57 nijtmans Exp $   */  #include "tclInt.h" @@ -314,7 +314,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; @@ -1080,7 +1080,8 @@ ClientData  TclNativeCreateNativeRep(      Tcl_Obj *pathPtr)  { -    char *nativePathPtr, *str; +    char *nativePathPtr; +    const char *str;      Tcl_DString ds;      Tcl_Obj *validPathPtr;      int len;  | 
