bug-gnustep
[Top][All Lists]
Advanced

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

[bug #24785] Application not quitting properly on some platforms.


From: Richard Frith-Macdonald
Subject: [bug #24785] Application not quitting properly on some platforms.
Date: Fri, 05 Dec 2008 22:08:43 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

Follow-up Comment #20, bug #24785 (project gnustep):

Ah ... I thought BOOL was typedef'ed as int.  As it's an unsigned char, the
cause of the problem (and reason the fix works) is clear.

However, I think instead of the double cast, we should explicitly mask the
return result with 0xff and add a comment to say that old code may only set
the low byte of the result, so we need to mask out the top bytes.  IMO this
would make the whole issue much clearer if/when someone looks at the source in
future.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24785>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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