diff options
author | dkf <dkf@noemail.net> | 2002-10-04 08:25:13 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2002-10-04 08:25:13 (GMT) |
commit | 7be172efabe10419a0ae9e265e4d707101010253 (patch) | |
tree | 1ba2dff796f88e495395621c243de97a259aceb6 /tools | |
parent | e8d3fa235ce109b5f8f9e626df84652070b284f1 (diff) | |
download | tcl-7be172efabe10419a0ae9e265e4d707101010253.zip tcl-7be172efabe10419a0ae9e265e4d707101010253.tar.gz tcl-7be172efabe10419a0ae9e265e4d707101010253.tar.bz2 |
[file exist] -> [file exists]...
FossilOrigin-Name: 147f89d646aea50b7e00c9083b08932d785749b1
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 } |