diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /science/silo/files/patch-src_silo_silo.c | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
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; |
