Ignore:
Timestamp:
Jun 26, 2006, 1:12:48 PM (18 years ago)
Author:
bcornec
Message:

Attempt to fix Bug #7820 Does not backup a file greater than 2 GB
Report from taps23@…
Changed legnth_of_file to off_t for ftello support and all relative changes made as well in various functions to be consistent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/common/libmondo-fork.c

    r541 r684  
    616616//      if (bytes_read_in!=128+64) { fatal_error("Can't read the terminating block"); }
    617617                fwrite(tmp, 1, bytes_read_in, ftmp);
    618                 sprintf(tmp, "I am here - %ld", ftell(fin));
     618                sprintf(tmp, "I am here - %llu", ftello(fin));
    619619//    log_msg(0, tmp);
    620620                fread(tmp, 1, 512, fin);
Note: See TracChangeset for help on using the changeset viewer.