Changeset 415


Ignore:
Timestamp:
Feb 20, 2006, 7:32:56 PM (14 years ago)
Author:
bcornec
Message:
  • support for files > 2GB is now part of the main source, and not only in the RPM
  • patch from Andree around fseek to support that as well
Location:
branches/stable/mondo
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/configure.in

    r341 r415  
    7979        AC_CHECK_LIB(pthread, pthread_create, true, [echo "*** Cannot find -lpthread."; echo "*** Please make sure you have the linuxthreads glibc add-on installed."; exit 1])
    8080        PTHREAD="-lpthread"
     81        CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT"
    8182        ;;
    8283    *)
  • branches/stable/mondo/distributions/rpm/mondo.spec

    r402 r415  
    6262%build
    6363%configure
    64 %{__make} VERSION=%{version} CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT"
     64%{__make} VERSION=%{version}
    6565
    6666%install
  • branches/stable/mondo/mondo/common/libmondo-files.c

    r392 r415  
    610610        return (-1);
    611611    }
    612     fseek(fin, 0, SEEK_END);
     612    fseeko(fin, 0, SEEK_END);
    613613    length = ftell(fin);
    614614    paranoid_fclose(fin);
Note: See TracChangeset for help on using the changeset viewer.