diff options
Diffstat (limited to 'src/arbits')
-rw-r--r-- | src/arbits/output/slbt_au_output_arname.c | 2 | ||||
-rw-r--r-- | src/arbits/output/slbt_au_output_dlsyms.c | 2 | ||||
-rw-r--r-- | src/arbits/output/slbt_au_output_mapfile.c | 2 | ||||
-rw-r--r-- | src/arbits/output/slbt_au_output_members.c | 2 | ||||
-rw-r--r-- | src/arbits/output/slbt_au_output_symbols.c | 2 | ||||
-rw-r--r-- | src/arbits/slbt_archive_ctx.c | 2 | ||||
-rw-r--r-- | src/arbits/slbt_archive_dlsyms.c | 2 | ||||
-rw-r--r-- | src/arbits/slbt_archive_mapfile.c | 2 | ||||
-rw-r--r-- | src/arbits/slbt_archive_mapstrv.c | 2 | ||||
-rw-r--r-- | src/arbits/slbt_archive_merge.c | 10 | ||||
-rw-r--r-- | src/arbits/slbt_archive_meta.c | 2 | ||||
-rw-r--r-- | src/arbits/slbt_archive_store.c | 10 | ||||
-rw-r--r-- | src/arbits/slbt_archive_symfile.c | 2 | ||||
-rw-r--r-- | src/arbits/slbt_archive_syminfo.c | 2 | ||||
-rw-r--r-- | src/arbits/slbt_armap_bsd_32.c | 2 | ||||
-rw-r--r-- | src/arbits/slbt_armap_bsd_64.c | 2 | ||||
-rw-r--r-- | src/arbits/slbt_armap_sysv_32.c | 2 | ||||
-rw-r--r-- | src/arbits/slbt_armap_sysv_64.c | 2 |
18 files changed, 29 insertions, 23 deletions
diff --git a/src/arbits/output/slbt_au_output_arname.c b/src/arbits/output/slbt_au_output_arname.c index 28e081d..6d345d2 100644 --- a/src/arbits/output/slbt_au_output_arname.c +++ b/src/arbits/output/slbt_au_output_arname.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/output/slbt_au_output_dlsyms.c b/src/arbits/output/slbt_au_output_dlsyms.c index 512f60f..93a71af 100644 --- a/src/arbits/output/slbt_au_output_dlsyms.c +++ b/src/arbits/output/slbt_au_output_dlsyms.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/output/slbt_au_output_mapfile.c b/src/arbits/output/slbt_au_output_mapfile.c index fb470df..5171a7b 100644 --- a/src/arbits/output/slbt_au_output_mapfile.c +++ b/src/arbits/output/slbt_au_output_mapfile.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/output/slbt_au_output_members.c b/src/arbits/output/slbt_au_output_members.c index 88937b0..d1c1351 100644 --- a/src/arbits/output/slbt_au_output_members.c +++ b/src/arbits/output/slbt_au_output_members.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/output/slbt_au_output_symbols.c b/src/arbits/output/slbt_au_output_symbols.c index 950cde8..b2d6280 100644 --- a/src/arbits/output/slbt_au_output_symbols.c +++ b/src/arbits/output/slbt_au_output_symbols.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/slbt_archive_ctx.c b/src/arbits/slbt_archive_ctx.c index 575374c..d1ea8f5 100644 --- a/src/arbits/slbt_archive_ctx.c +++ b/src/arbits/slbt_archive_ctx.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/slbt_archive_dlsyms.c b/src/arbits/slbt_archive_dlsyms.c index ed07602..400f3a2 100644 --- a/src/arbits/slbt_archive_dlsyms.c +++ b/src/arbits/slbt_archive_dlsyms.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/slbt_archive_mapfile.c b/src/arbits/slbt_archive_mapfile.c index 18f94dc..f9ec15a 100644 --- a/src/arbits/slbt_archive_mapfile.c +++ b/src/arbits/slbt_archive_mapfile.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/slbt_archive_mapstrv.c b/src/arbits/slbt_archive_mapstrv.c index e97db76..f8075ef 100644 --- a/src/arbits/slbt_archive_mapstrv.c +++ b/src/arbits/slbt_archive_mapstrv.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/slbt_archive_merge.c b/src/arbits/slbt_archive_merge.c index 5f29235..e62ba12 100644 --- a/src/arbits/slbt_archive_merge.c +++ b/src/arbits/slbt_archive_merge.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ @@ -180,6 +180,8 @@ int slbt_ar_merge_archives( int64_t osymrefs; int64_t onamestrs; int64_t omemfixup; + int64_t atint; + int64_t aroff; char * base; unsigned char * ubase; @@ -359,7 +361,7 @@ int slbt_ar_merge_archives( memcpy(arhdr,armap->ar_member_data,sizeof(*arhdr)+sarname); nwritten = armap->ar_file_header.ar_time_date_stamp - ? sprintf(arhdr->ar_time_date_stamp,PPRII64,time(0)) + ? sprintf(arhdr->ar_time_date_stamp,PPRII64,(atint = time(0))) : 0; if (nwritten < 0) @@ -401,7 +403,7 @@ int slbt_ar_merge_archives( memcpy(arhdr,arnames->ar_member_data,sizeof(*arhdr)); nwritten = arnames->ar_file_header.ar_time_date_stamp - ? sprintf(arhdr->ar_time_date_stamp,PPRII64,time(0)) + ? sprintf(arhdr->ar_time_date_stamp,PPRII64,(atint = time(0))) : 0; if (nwritten < 0) @@ -591,7 +593,7 @@ int slbt_ar_merge_archives( if (meminfo->ar_file_header.ar_header_attr & AR_HEADER_ATTR_NAME_REF) { nwritten = sprintf( &base[omembers],"/"PPRII64, - namestr - namebase); + (aroff = namestr - namebase)); if (nwritten < 0) SLBT_SYSTEM_ERROR(dctx,0); diff --git a/src/arbits/slbt_archive_meta.c b/src/arbits/slbt_archive_meta.c index 8ef816c..499bfaf 100644 --- a/src/arbits/slbt_archive_meta.c +++ b/src/arbits/slbt_archive_meta.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/slbt_archive_store.c b/src/arbits/slbt_archive_store.c index d09a3f0..31bbbe0 100644 --- a/src/arbits/slbt_archive_store.c +++ b/src/arbits/slbt_archive_store.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ @@ -41,6 +41,8 @@ int slbt_ar_store_archive( struct stat st; int fdat; int fdtmp; + int64_t tint; + int64_t stino; void * addr; char * mark; char * slash; @@ -74,6 +76,7 @@ int slbt_ar_store_archive( fdat = slbt_driver_fdcwd(dctx); addr = buf; + tint = time(0); mark = (slash = strrchr(buf,'/')) ? slash : buf; @@ -89,6 +92,7 @@ int slbt_ar_store_archive( dctx,0); } + stino = st.st_ino; buflen = sizeof(buf) - (mark - buf); nbytes = snprintf( mark, @@ -99,8 +103,8 @@ int slbt_ar_store_archive( ".salt.%p" ".pid.%d" ".tmp", - st.st_ino, - time(0),addr, + stino, + tint,addr, getpid()); if (nbytes >= buflen) diff --git a/src/arbits/slbt_archive_symfile.c b/src/arbits/slbt_archive_symfile.c index 49d2ff0..59961ec 100644 --- a/src/arbits/slbt_archive_symfile.c +++ b/src/arbits/slbt_archive_symfile.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/slbt_archive_syminfo.c b/src/arbits/slbt_archive_syminfo.c index 09c90a8..27f94bb 100644 --- a/src/arbits/slbt_archive_syminfo.c +++ b/src/arbits/slbt_archive_syminfo.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/slbt_armap_bsd_32.c b/src/arbits/slbt_armap_bsd_32.c index ee94b70..2f63e56 100644 --- a/src/arbits/slbt_armap_bsd_32.c +++ b/src/arbits/slbt_armap_bsd_32.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/slbt_armap_bsd_64.c b/src/arbits/slbt_armap_bsd_64.c index 8f214b9..1590a0e 100644 --- a/src/arbits/slbt_armap_bsd_64.c +++ b/src/arbits/slbt_armap_bsd_64.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/slbt_armap_sysv_32.c b/src/arbits/slbt_armap_sysv_32.c index bc5a0d5..52ac7c7 100644 --- a/src/arbits/slbt_armap_sysv_32.c +++ b/src/arbits/slbt_armap_sysv_32.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ diff --git a/src/arbits/slbt_armap_sysv_64.c b/src/arbits/slbt_armap_sysv_64.c index 961ee20..c92c4a7 100644 --- a/src/arbits/slbt_armap_sysv_64.c +++ b/src/arbits/slbt_armap_sysv_64.c @@ -1,6 +1,6 @@ /*******************************************************************/ /* slibtool: a strong libtool implementation, written in C */ -/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */ +/* Copyright (C) 2016--2025 SysDeer Technologies, LLC */ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ |