libxshmfence: Changes to 'master'

Keith Packard keithp at kemper.freedesktop.org
Tue Dec 3 15:13:36 PST 2013


 src/xshmfence_alloc.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit ca4ef282b55f3f05acc29a7c76b624f130cc74de
Author: Julien Cristau <jcristau at debian.org>
Date:   Tue Dec 3 20:14:38 2013 +0100

    Check return value from ftruncate
    
    Silences compiler warning:
    
    xshmfence_alloc.c: In function 'xshmfence_alloc_shm':
    xshmfence_alloc.c:54:11: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
      ftruncate(fd, sizeof (struct xshmfence));
               ^
    
    Signed-off-by: Julien Cristau <jcristau at debian.org>
    Reviewed-by: Keith Packard <keithp at keithp.com>



More information about the xorg-commit mailing list