diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2002-10-04 08:25:13 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2002-10-04 08:25:13 (GMT) |
commit | 8b5013b1b9899efdf0690cd7aa23b480e50775d6 (patch) | |
tree | 1ba2dff796f88e495395621c243de97a259aceb6 /tools | |
parent | c5b3649d3b52b166ea82c04d1db2e8148457f80f (diff) | |
download | tcl-8b5013b1b9899efdf0690cd7aa23b480e50775d6.zip tcl-8b5013b1b9899efdf0690cd7aa23b480e50775d6.tar.gz tcl-8b5013b1b9899efdf0690cd7aa23b480e50775d6.tar.bz2 |
[file exist] -> [file exists]...
Diffstat (limited to 'tools')
-rw-r--r-- | tools/eolFix.tcl | 2 | ||||
-rw-r--r-- | tools/genStubs.tcl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/eolFix.tcl b/tools/eolFix.tcl index 11c410d..ed3ec7c 100644 --- a/tools/eolFix.tcl +++ b/tools/eolFix.tcl @@ -16,7 +16,7 @@ namespace eval ::EOL { proc EOL::fix {filename {newfilename ""}} { variable outMode - if {![file exist $filename]} { return } + if {![file exists $filename]} { return } puts "EOL Fixing: $filename" file rename ${filename} ${filename}.o diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl index 73770ae..8a10cba 100644 --- a/tools/genStubs.tcl +++ b/tools/genStubs.tcl @@ -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. # -# RCS: @(#) $Id: genStubs.tcl,v 1.12 2002/08/31 06:09:46 das Exp $ +# RCS: @(#) $Id: genStubs.tcl,v 1.13 2002/10/04 08:25:14 dkf Exp $ package require Tcl 8 @@ -175,7 +175,7 @@ proc genStubs::declare {args} { # None. proc genStubs::rewriteFile {file text} { - if {![file exist $file]} { + if {![file exists $file]} { puts stderr "Cannot find file: $file" return } |