diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 4e35d9b7..354633ee 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.07.12.141659" +#define Cdrskin_timestamP "2011.07.12.141838" diff --git a/libburn/trunk/libburn/sg-dummy.c b/libburn/trunk/libburn/sg-dummy.c index c5b3ac41..2c9b50a0 100644 --- a/libburn/trunk/libburn/sg-dummy.c +++ b/libburn/trunk/libburn/sg-dummy.c @@ -1,7 +1,7 @@ /* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */ /* - Copyright (c) 2009 - 2010 Thomas Schmitt + Copyright (c) 2009 - 2011 Thomas Schmitt Provided under GPL version 2 or later. */ @@ -253,14 +253,12 @@ int burn_os_stdio_capacity(char *path, off_t *bytes) #endif char *testpath = NULL, *cpt; - long blocks; off_t add_size = 0; int ret; BURN_ALLOC_MEM(testpath, char, 4096); testpath[0] = 0; - blocks = *bytes / 512; if (stat(path, &stbuf) == -1) { strcpy(testpath, path); cpt = strrchr(testpath, '/'); @@ -276,6 +274,9 @@ int burn_os_stdio_capacity(char *path, off_t *bytes) #ifdef Libburn_if_this_was_linuX } else if(S_ISBLK(stbuf.st_mode)) { + long blocks; + + blocks = *bytes / 512; fd = open(path, open_mode); if (fd == -1) {ret = -2; goto ex;}