View Single Post
Old 04-10-2004, 03:57 PM  
tuff
Senior Member
 
Join Date: Jan 2003
Posts: 277
Default another itcl chattr bug?

vfs chattr is either not writing or reading more than 2047 characters to each availble entery

global pwd
set text "random-2048-character-string-here"
vfs chattr "[resolve pwd $pwd]" 100 "$text"
iputs "WROTE: [string length $text]"
set readback [vfs chattr "[resolve pwd $pwd]" 100]
iputs "READ BACK: [string length $readback]"

WROTE: 2048
READ BACK: 2047

is this intentional? or another bug?
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote