Carified that apps must use 64 bit off_t or the lib must be tweaked.

This commit is contained in:
Thomas Schmitt 2010-01-13 17:14:14 +00:00
parent df612390d3
commit cdfc357064
2 changed files with 5 additions and 3 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2010.01.13.074640" #define Cdrskin_timestamP "2010.01.13.171546"

View File

@ -9,8 +9,10 @@ Applications must use 64 bit off_t. E.g. by defining
#define _LARGEFILE_SOURCE #define _LARGEFILE_SOURCE
#define _FILE_OFFSET_BITS 64 #define _FILE_OFFSET_BITS 64
or take special precautions to interface with the library by 64 bit integers or take special precautions to interface with the library by 64 bit integers
where this .h files prescribe off_t. Not to use 64 bit file i/o will keep the where this .h files prescribe off_t.
application from producing and processing ISO images of more than 2 GB size.
To prevent 64 bit file i/o in the library would keep the application from
producing and processing ISO images of more than 2 GB size.
*/ */
#include <sys/types.h> #include <sys/types.h>