|
2002-10-04
| ||
| 15:26 | • Closed ticket [602566ffff]: should use 'exists' instead of 'exist... artifact: 05a9afc32b user: dkf | |
| 01:25 | • Ticket [602566ffff]: 4 changes artifact: c58da9c78b user: davidw | |
| 01:25 | • Add attachment latest.diff to ticket [602566ffff] artifact: 382425353f user: davidw | |
| 01:21 | • Open ticket [602566ffff]: should use 'exists' instead of 'exist'... artifact: f18bae5a1c user: davidw | |
|
2002-10-03
| ||
| 20:37 | • Closed ticket [602566ffff]. artifact: 99b94c7bca user: dkf | |
| 20:19 | • Ticket [602566ffff]: 1 change artifact: 6d2b21fe0b user: dkf | |
|
2002-08-31
| ||
| 01:46 | • Ticket [602566ffff]: 1 change artifact: a5cc0f27f4 user: davidw | |
|
2002-08-30
| ||
| 18:46 | • New ticket [602566ffff]. artifact: 8e2c694aa5 user: davidw | |
should use 'exists' instead of 'exist'
Closed / Fixed602566ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-08-30 18:46:18
This is a very low priority nitpick, but I noticed that
info exist is used in place of info exists in several
places. 'exists' is what's documented, and Tcl should
use that, for consistency's sake.
cd ~/download/tcl/
find . -type f -print0 | xargs -0 -e grep -n -e 'info
exist '
./library/http/http.tcl:174:
if {[info exist state(-command)]} {
./library/http/http.tcl:559: if {[info exist state]} {
./library/init.tcl:43: if {[info exist
env(TCLLIBPATH)]} {
./library/init.tcl:63: if {[info exist ::tcl_pkgPath]} {
./library/outoftheway_init.tcl:42: if {[info exist
env(TCLLIBPATH)]} {
./library/outoftheway_init.tcl:60:if {[info exist
tcl_pkgPath]} {
./tests/autoMkindex.test:107:if {[info exist
auto_mkindex_parser::initCommands]} {
./tests/autoMkindex.test:112: if {[info exist
saveCommands]} {
./tests/autoMkindex.test:114: } elseif {[info exist
auto_mkindex_parser::initCommands]} {
./tests/autoMkindex.test:347:if {[info exist
saveCommands]} {
./tests/binary.test:609: list [binary scan abc a5
arg1] [info exist arg1]
./tests/binary.test:648: list [binary scan abc A5
arg1] [info exist arg1]
./tests/env.test:201: set result [info exist
env(THIS_SHOULDNT_EXIST)]
./tests/env.test:218: # The info exist command
should be in synch with the env array.
./tests/http.test:23: if {[info exist http2]} {
./tests/http.test:496:if {[info exist removeHttpd]} {
./tests/httpd:78:
if {![info exist data(length_orig)]} {
./tests/httpd:106:
if {![info exist data(mime,content-length)]} {
./tests/httpold.test:22: if {[info exist httpold]} {
./tools/man2help2.tcl:871: if {[info exist bitmap]} {
This should be easy to fix with a script.
davidw Ticket [602566ffff]: 1 change
[History diff]2002-08-31 01:46:59
dkf Ticket [602566ffff]: 1 change
[History diff]2002-10-03 20:19:56
dkf Closed ticket [602566ffff].
[History diff]2002-10-03 20:37:21
davidwplain2002-10-04 01:21:15
Logged In: YES user_id=240 You forgot 'file exist[^s]'. Thankyou.
davidwplain2002-10-04 01:25:50
File Added - 32327: latest.diff Logged In: YES user_id=240 Here's a patch
dkfplain2002-10-04 15:26:45
Logged In: YES user_id=79902 Picky picky picky. (Fixed; thanks for bringing this to our attention.)
Log in (anonymous is fine) to add a comment.
Attachments:
- latest.diff [download] added by davidw on 2002-10-04 01:25:50. [details]