libFS: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Thu Feb 17 20:52:23 PST 2011


 .gitignore            |    1 
 Makefile.am           |    2 
 configure.ac          |    1 
 src/FSErrDis.c        |    2 
 test/FSGetErrorText.c |  101 ++++++++++++++++++++++++++++++++++++++++++++++++++
 test/Makefile.am      |   30 ++++++++++++++
 6 files changed, 135 insertions(+), 2 deletions(-)

New commits:
commit 07c1f9c135039606c63b88d51b93532199897ceb
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Feb 13 10:23:43 2011 -0800

    Off-by-one error on the other end of FSGetErrorText bounds check
    
    The Font Server protocol actually defines 0 as an error code too.
    
    Before this fix, test/FSGetErrorText printed:
    
    FSGetErrorText for code FSBadRequest (0) returned:
    ||
    
    Afterwards:
    
    FSGetErrorText for code FSBadRequest (0) returned:
    |BadRequest, invalid request code or no such operation|
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit ba4f4e7604afc23431c62c3886ab9419d5913661
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Feb 13 10:20:48 2011 -0800

    Add simple test program for FSGetErrorText()
    
    When run with arguments, prints messages for the given codes.
    When run with no arguments, prints messages for known valid error codes
    and some invalid codes.
    
    Not run as part of "make check" since it requires a connection to an
    xfs server to run, just available for developers to manually run when
    needed.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list