| Description: |
The following bug occurs when trying to uuencode a line
beginning with '-' using the uuencode command in
Trf(from base64/uuencode.tcl):
Error: ::uuencode: wrong # args, all options require an
argument
Errorinfo: ::uuencode: wrong # args, all options
require an argument
while executing
"::uuencode -mode encode $s"
Using '--' to stop processing of arguments should fix it.
tcllib1.3/base64/uuencode.tcl
line 81:
return [::uuencode -mode encode $s]
should be:
return [::uuencode -mode encode -- $s]
Same with the call to uudecode.
The bug was discovered using ActiveState Tcl 8.4.2, but
also exists in the CVS repository as far as I can tell.
|