Changeset 533

Show
Ignore:
Timestamp:
08/24/06 20:21:28 (2 years ago)
Author:
tg
Message:

Debian Woody compatibility:
* remove -std=c99/gnu99 from the CFLAGS (XXX does this break anything?)
* only use futimes(3) if glibc 2.3+ or non-GNU libc

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/tools/paxmirabilis/Makefile

    r339 r533  
    66 
    77OUR_FLAGS=      -I${TOPDIR}/scripts \ 
    8                 -std=gnu99 \ 
    98                -include ${TOPDIR}/scripts/param.h 
    109 
  • trunk/freewrt/tools/paxmirabilis/src/file_subs.c

    r204 r533  
    734734         * set the times 
    735735         */ 
     736#if !defined(__GLIBC__) || (defined(__GLIBC_MINOR__) && __GLIBC_PREREQ(2,3)) 
    736737        if (futimes(fd, tv) < 0) 
    737738                syswarn(1, errno, "Access/modification time set failed on: %s", 
    738739                    fnm); 
     740#endif 
    739741        return; 
    740742}