From 2bb5d973c33a1542600b7107ea2416f4a20c1634 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) --- xorriso/xorriso_main.c | 6 ++++++ xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/xorriso/xorriso_main.c b/xorriso/xorriso_main.c index 10a0fe9f..a3e90bfa 100644 --- a/xorriso/xorriso_main.c +++ b/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/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 6aad2745..a9dcfd13 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2010.05.16.113100" +#define Xorriso_timestamP "2010.05.16.171056"