bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch #6758] Add support for Atari FreeMiNT OS


From: Bruno Haible
Subject: Re: [patch #6758] Add support for Atari FreeMiNT OS
Date: Sun, 1 Mar 2009 00:17:38 +0100
User-agent: KMail/1.9.9

Alan,

+  fp->__pushback_bufp = 0;
+  if (fp->__mode.__write)
+    fp->__put_limit = fp->__buffer;
+  fp->__bufp = fp->__get_limit;

Can you explain me something? I thought the following invariants should
always hold:
  fp->__get_limit >= fp->__bufp
  fp->__put_limit >= fp->__bufp
But after these assignments are executed, it is possible that
  fp->__put_limit == fp->__buffer < fp->__bufp == fp->__get_limit
No?

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]