Actually the read() function was not functional!!! So this is another fix.
Authored by: bugman 2007-11-22
Parent: [r3831]
Child: [r3833]