After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 345407 - ATK_STATE macro is not correct if state_enum is above 32
ATK_STATE macro is not correct if state_enum is above 32
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: atk
git master
Other All
: Normal normal
: ---
Assigned To: bill.haneman
bill.haneman
Depends on:
Blocks:
 
 
Reported: 2006-06-20 10:41 UTC by Ginn Chen
Modified: 2006-06-21 10:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
patch (560 bytes, patch)
2006-06-20 10:43 UTC, Ginn Chen
committed Details | Review

Description Ginn Chen 2006-06-20 10:41:36 UTC
Please describe the problem:
E1 << E2
The result is undefined if the right operand is greater than or equal to the number of bits in the left expression's type.


Steps to reproduce:
call atk_state_set_add_state(ATK_STATE_SELECTABLE_TEXT)
actually ATK_STATE_BUSY will be added.

reproduced on ubuntu 6.06/x86

Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Ginn Chen 2006-06-20 10:43:45 UTC
Created attachment 67695 [details] [review]
patch
Comment 2 Ginn Chen 2006-06-21 06:21:31 UTC
I don't have write permission.
Please help me commit it.
Thanks.
Comment 3 bill.haneman 2006-06-21 10:36:44 UTC
Thanks for the patch Ginn!  I have committed it to atk HEAD and to the gnome-2-14 branch.