------- Comment #17 from potswa at mac dot com  2010-09-10 17:25 -------
(In reply to comment #16)
> Actually, however, I don't think we can really always call fseek(off * width)
> as the Standard want us to do. In a sense I'm happy because the change is 
> gonna
> be less invasive, on the other hand I'm a bit puzzled.

Could you post a patch? I'm not sure what you mean by generalizing (off *
width), if off == 0 then width is irrelevant. If width < 0 then the only valid
value for off is 0. If width > 0, off != 0 then repositioning is the primary
effect.

The task is to call fseek(0,cur), and then subtract the number of bytes in the
put area plus the "external characters," right?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45628

Reply via email to