Paolo Carlini wrote: > If either the first sgetc() or the seekoff are commented out, > the test passes, otherwise doesn't. Of course I really meant 'either the first sgetc() or the pubsetbuf'! ;) Paolo.