kbproto: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Tue Aug 20 12:53:12 PDT 2013


 XKBgeom.h |    5 +++++
 XKBstr.h  |   27 +++++++++++++++++++++------
 2 files changed, 26 insertions(+), 6 deletions(-)

New commits:
commit 7cc231b806b1cf6c0c7a71efe335efad892860f0
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Aug 16 22:00:18 2013 -0700

    Drop WORD64 (Cray) support
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 95ee49d90c28b15a3c3be54a233368fc69f3531a
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Aug 16 21:55:27 2013 -0700

    Add comments about sizes of dynamically allocated arrays
    
    Many arrays have sz_* or size_* fields to list the number of entries
    allocated, and num_* fields to record the number of entries used.
    
    Others use num_* for the number allocated, or size based on max_key_code.
    
    And a few are just plain trying to mess with your head.  (I'm looking at
    you XkbNamesRec & XkbKeyTypeRec.)
    
    It sure would have been nice if all the XKB authors could have picked
    a single convention and stuck to it, but we're 20 years too late for
    that now, so just document it so I can stop reverse engineering from
    the code every time I need to see if we got a bounds check right or not.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list