diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-07-17 14:08:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-07-17 14:08:30 (GMT) |
commit | 88075c1802796846a7bdf280387225202dd7ec99 (patch) | |
tree | 6aa932a1ebd4b0cf655a5b65bf6a5541fd333305 /tests/unixFCmd.test | |
parent | f9efaaa3654408f97cb74fdac4b1309b067f7e71 (diff) | |
download | tcl-88075c1802796846a7bdf280387225202dd7ec99.zip tcl-88075c1802796846a7bdf280387225202dd7ec99.tar.gz tcl-88075c1802796846a7bdf280387225202dd7ec99.tar.bz2 |
Make sure that all "testchmod" arguments start with '0', making it more obvious that the value is octal.
dgp: Isn't the better way to make it obvious the values
are octal to use the explicit octal notation?
For example, [testchmod 0o777 $path] ?
Really seems like a bad idea to me to introduce *more*
incompatibilities for the planned conversion for
having the value 0777 stop meaning 255 and start
meaning 777 in Tcl 9.
Answer (Jan). You guessed exactly what's my follow-up plan. This was an intermediate step which keeps all test-cases running.
Diffstat (limited to 'tests/unixFCmd.test')
-rw-r--r-- | tests/unixFCmd.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unixFCmd.test b/tests/unixFCmd.test index e4613ed..3755fed 100644 --- a/tests/unixFCmd.test +++ b/tests/unixFCmd.test @@ -59,7 +59,7 @@ if {[testConstraint unix]} { } proc openup {path} { - testchmod 777 $path + testchmod 0777 $path if {[file isdirectory $path]} { catch { foreach p [glob -directory $path *] { |