Browse Source

Removed 1.3 GB curbs for sources created by burn_file_source_new()

tags/ZeroThreeZeroOne^0
Thomas Schmitt 13 years ago
parent
commit
f5c3e560ce
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      libburn/file.c

+ 0
- 6
libburn/file.c View File

@@ -73,9 +73,6 @@ static off_t file_size(struct burn_source *source)

if (fstat(fs->datafd, &buf) == -1)
return (off_t) 0;
/* for now we keep it compatible to the old (int) return value */
if(buf.st_size >= 1308622848) /* 2 GB - 800 MB to prevent rollover */
return (off_t) 1308622848;
return (off_t) buf.st_size;
}

@@ -126,9 +123,6 @@ static off_t fd_get_size(struct burn_source *source)
return fs->fixed_size;
if (fstat(fs->datafd, &buf) == -1)
return (off_t) 0;
/* for now we keep it compatible to the old (int) return value */
if (buf.st_size >= 1308622848) /* 2 GB - 800 MB to prevent rollover */
return (off_t) 1308622848;
return buf.st_size;
}



Loading…
Cancel
Save