Line 64 in CLI.c if (!(o = c->tx_write) || o->wpos + size > o->end) isnt that should be if (!(o == c->tx_write) || o->wpos + size > o->end) BTW, is there anyone who is also interested in studying the source code? I would be very interested if we could form a study group or something else? Thanx!
Hello!
Line 64 in CLI.c
if (!(o = c->tx_write) || o->wpos + size > o->end)
isnt that should be
if (!(o == c->tx_write) || o->wpos + size > o->end)
No, it's a real assignment. Have a nice fortnight -- Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth P.C.M.C.I.A. stands for `People Can't Memorize Computer Industry Acronyms'
On Thu, 4 Jan 2001, Martin Mares wrote:
Hello!
Line 64 in CLI.c
if (!(o = c->tx_write) || o->wpos + size > o->end)
isnt that should be
if (!(o == c->tx_write) || o->wpos + size > o->end)
No, it's a real assignment.
I love C. :P -- James A. Crippen <james@unlambda.com> ,-./-. Anchorage, Alaska, Lambda Unlimited: Recursion 'R' Us | |/ | USA, 61.2069 N, 149.766 W, Y = \f.(\x.f(xx)) (\x.f(xx)) | |\ | Earth, Sol System, Y(F) = F(Y(F)) \_,-_/ Milky Way.
participants (3)
-
James A. Crippen -
Martin Mares -
Zheng Yuan {ZYUAN1}