Hi!

Tried to use

DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
as added in vdr-1.7.4 make.config.template, but this causes other
warnings/errors:

recording.c: In constructor ‘cIndexFile::cIndexFile(const char*, bool)’:
recording.c:1207: warning: format ‘%ld’ expects type ‘long int’, but
argument 3 has type ‘__off64_t’
...
tools.c: In member function ‘ssize_t cUnbufferedFile::Write(const void*,
size_t)’:
tools.c:1592: error: no matching function for call to ‘min(off_t&, long
int)’
tools.c:1611: error: no matching function for call to ‘min(long long
int, long unsigned int)’
make: *** [tools.o] Error 1

Regards

Marco



Marco Göbenich schrieb:
> Seems that
>
> if (statfs(Directory, &statFs) == 0)
>
> returns false.
>
> I changed
>
> struct statfs64 statFs;
> if (statfs64(Directory, &statFs) == 0) {
>
> This works. Recordings are now stored. Is there a better fix for that.
>   

-- 
Needful GbR  Rheinstraße 60a          Telefon +49 (0) 26 24 / 95 29 301
             56203 Hoehr-Grenzhausen  Telefax +49 (0) 26 24 / 95 29 303
             http://www.needful.de    E-Mail  m...@needful.de


_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to