From 8b560cd82acd5f012b775aeaba61b8f39f74a0d3 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 16 May 2010 17:11:49 +0000 Subject: [PATCH] Checking for suitable sizeof(off_t) --- libisoburn/trunk/xorriso/xorriso_main.c | 6 ++++++ libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/libisoburn/trunk/xorriso/xorriso_main.c b/libisoburn/trunk/xorriso/xorriso_main.c index 10a0fe9f..a3e90bfa 100644 --- a/libisoburn/trunk/xorriso/xorriso_main.c +++ b/libisoburn/trunk/xorriso/xorriso_main.c @@ -132,6 +132,12 @@ int main(int argc, char **argv) struct XorrisO *xorriso= NULL; char **orig_argv= NULL; + if(sizeof(off_t) < 8) { + yell_xorriso(); + fprintf(stderr, + "xorriso : FATAL : Compile time misconfiguration. sizeof(off_t) too small.\n\n"); + exit(4); + } if(strcmp(Xorriso_main_program_versioN, Xorriso_program_versioN)) { yell_xorriso(); fprintf(stderr, diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index 6aad2745..a9dcfd13 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2010.05.16.113100" +#define Xorriso_timestamP "2010.05.16.171056"