+2000-08-08 Fernando Nasser <fnasser@cygnus.com>
+
+ * srctxtwin.itb (LoadFromCache): Do not cache if cannot stat the file.
+ This lead to problems trying to access a incomplete cache entry later.
+
2000-06-06 Fernando Nasser <fnasser@cygnus.com>
* util.tcl (find_iwidgets_library): Add missing global declaration
} else {
debug "name=$name"
- set Stwc($full_name:pane) pane$filenum
# If we are trying to load a source file, check the time
# to see if we need to update it. If we can't stat the
# file then we probably can't open it either, so error
debug "Could not stat file \"$name\" - \"$file_time\""
return -1
} else {
+ set Stwc($full_name:pane) pane$filenum
set Stwc($name:mtime) $file_time
}
} else {
# check whether the executable is newer than the cached
# disassembly. For mixed files, we need to check BOTH
# the source file mtime, and the executable time.
-
+
+ set Stwc($full_name:pane) pane$filenum
set Stwc($name:mtime) 0
}