diff options
Diffstat (limited to 'science/silo/files/patch-src_silo_silo.c')
| -rw-r--r-- | science/silo/files/patch-src_silo_silo.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/science/silo/files/patch-src_silo_silo.c b/science/silo/files/patch-src_silo_silo.c deleted file mode 100644 index d20855c5ca9b..000000000000 --- a/science/silo/files/patch-src_silo_silo.c +++ /dev/null @@ -1,39 +0,0 @@ ---- src/silo/silo.c.orig 2022-12-03 02:30:10 UTC -+++ src/silo/silo.c -@@ -238,12 +238,8 @@ typedef struct db_silo_stat_t { - #ifndef SIZEOF_OFF64_T - #error missing definition for SIZEOF_OFF64_T in silo_private.h - #else --#if SIZEOF_OFF64_T > 4 -- struct stat64 s; --#else - struct stat s; - #endif --#endif - #ifdef _WIN32 - DWORD fileindexlo; - DWORD fileindexhi; -@@ -2121,11 +2117,7 @@ db_silo_stat_one_file(const char *name, db_silo_stat_t - errno = 0; - memset(&(statbuf->s), 0, sizeof(statbuf->s)); - --#if SIZEOF_OFF64_T > 4 -- retval = stat64(name, &(statbuf->s)); --#else - retval = stat(name, &(statbuf->s)); --#endif /* #if SIZEOF_OFF64_T > 4 */ - - #ifdef _WIN32 - if (retval == 0) -@@ -4136,11 +4128,7 @@ DBOpenReal(const char *name, int type, int mode) - /********************************/ - /* System level error occured. */ - /********************************/ --#if SIZEOF_OFF64_T > 4 -- printf("stat64() failed with error: "); --#else - printf("stat() failed with error: "); --#endif - switch (errno) - { - case EACCES: printf("EACCES\n"); break; |
