summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFile.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2019-05-08 18:06:23 (GMT)
committerdgp <dgp@users.sourceforge.net>2019-05-08 18:06:23 (GMT)
commit5419f8e0ba508cfedb5c68a88aee618e25e17983 (patch)
tree8f0a186bd95d79185b43fa70820b8c31a790339e /unix/tclUnixFile.c
parent84f4682378d1314b5849be0f80e8e3298251c0fc (diff)
downloadtcl-5419f8e0ba508cfedb5c68a88aee618e25e17983.zip
tcl-5419f8e0ba508cfedb5c68a88aee618e25e17983.tar.gz
tcl-5419f8e0ba508cfedb5c68a88aee618e25e17983.tar.bz2
For historical/hysterical reasons, the (unused??) public routines Tcl_UpVar()
and Tcl_UpVar2() accept random garbage for a level argument (treat it as 1) while the [upvar] command has come to reject such values as bad levels. Add a test to call it to our attention if we ever change that disparity so we do so only on purpose.
Diffstat (limited to 'unix/tclUnixFile.c')
0 files changed, 0 insertions, 0 deletions