tuff
04-10-2004, 03:57 PM
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?
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?