From 4fc8d57965352190b72602b98d9a26bea8a7f859 Mon Sep 17 00:00:00 2001 From: Joachim Metz Date: Wed, 13 Mar 2024 05:15:17 +0100 Subject: [PATCH] Applied updates --- AUTHORS | 2 +- appveyor.yml | 6 +- autogen.ps1 | 66 +++-- common/byte_stream.h | 2 +- common/common.h | 2 +- common/config_borlandc.h | 2 +- common/config_msc.h | 2 +- common/config_winapi.h | 2 +- common/file_stream.h | 2 +- common/memory.h | 2 +- common/narrow_string.h | 2 +- common/system_string.h | 2 +- common/types.h.in | 2 +- common/wide_string.h | 2 +- configure.ac | 2 +- dpkg/copyright | 2 +- include/libbfio.h.in | 2 +- include/libbfio/codepage.h | 2 +- include/libbfio/definitions.h.in | 2 +- include/libbfio/error.h | 2 +- include/libbfio/extern.h | 2 +- include/libbfio/features.h.in | 2 +- include/libbfio/types.h.in | 2 +- libbfio/libbfio.c | 2 +- libbfio/libbfio.rc.in | 2 +- libbfio/libbfio_codepage.h | 2 +- libbfio/libbfio_definitions.h.in | 2 +- libbfio/libbfio_error.c | 2 +- libbfio/libbfio_error.h | 2 +- libbfio/libbfio_extern.h | 2 +- libbfio/libbfio_file.c | 2 +- libbfio/libbfio_file.h | 2 +- libbfio/libbfio_file_io_handle.c | 2 +- libbfio/libbfio_file_io_handle.h | 2 +- libbfio/libbfio_file_pool.c | 2 +- libbfio/libbfio_file_pool.h | 2 +- libbfio/libbfio_file_range.c | 2 +- libbfio/libbfio_file_range.h | 2 +- libbfio/libbfio_file_range_io_handle.c | 2 +- libbfio/libbfio_file_range_io_handle.h | 2 +- libbfio/libbfio_handle.c | 2 +- libbfio/libbfio_handle.h | 2 +- libbfio/libbfio_libcdata.h | 2 +- libbfio/libbfio_libcerror.h | 2 +- libbfio/libbfio_libcfile.h | 2 +- libbfio/libbfio_libclocale.h | 2 +- libbfio/libbfio_libcpath.h | 2 +- libbfio/libbfio_libcthreads.h | 2 +- libbfio/libbfio_libuna.h | 2 +- libbfio/libbfio_memory_range.c | 2 +- libbfio/libbfio_memory_range.h | 2 +- libbfio/libbfio_memory_range_io_handle.c | 2 +- libbfio/libbfio_memory_range_io_handle.h | 2 +- libbfio/libbfio_pool.c | 2 +- libbfio/libbfio_pool.h | 2 +- libbfio/libbfio_support.c | 2 +- libbfio/libbfio_support.h | 2 +- libbfio/libbfio_system_string.c | 2 +- libbfio/libbfio_system_string.h | 2 +- libbfio/libbfio_types.h | 2 +- libbfio/libbfio_unused.h | 2 +- m4/common.m4 | 6 +- m4/libcdata.m4 | 9 +- m4/libcerror.m4 | 9 +- m4/libcfile.m4 | 9 +- m4/libclocale.m4 | 9 +- m4/libcnotify.m4 | 9 +- m4/libcpath.m4 | 9 +- m4/libcsplit.m4 | 9 +- m4/libcthreads.m4 | 8 +- m4/libuna.m4 | 9 +- m4/pthread.m4 | 345 ++++++++++++----------- manuals/libbfio.3 | 2 +- tests/bfio_test_error.c | 2 +- tests/bfio_test_file.c | 2 +- tests/bfio_test_file_io_handle.c | 2 +- tests/bfio_test_file_pool.c | 2 +- tests/bfio_test_file_range.c | 2 +- tests/bfio_test_file_range_io_handle.c | 2 +- tests/bfio_test_functions.c | 2 +- tests/bfio_test_functions.h | 2 +- tests/bfio_test_getopt.c | 2 +- tests/bfio_test_getopt.h | 2 +- tests/bfio_test_handle.c | 2 +- tests/bfio_test_libbfio.h | 2 +- tests/bfio_test_libcdata.h | 2 +- tests/bfio_test_libcerror.h | 2 +- tests/bfio_test_libcfile.h | 2 +- tests/bfio_test_libclocale.h | 2 +- tests/bfio_test_libcnotify.h | 2 +- tests/bfio_test_libcpath.h | 2 +- tests/bfio_test_libuna.h | 2 +- tests/bfio_test_macros.h | 2 +- tests/bfio_test_memory.c | 2 +- tests/bfio_test_memory.h | 2 +- tests/bfio_test_memory_range.c | 2 +- tests/bfio_test_memory_range_io_handle.c | 2 +- tests/bfio_test_pool.c | 2 +- tests/bfio_test_rwlock.c | 2 +- tests/bfio_test_rwlock.h | 2 +- tests/bfio_test_support.c | 2 +- tests/bfio_test_system_string.c | 2 +- tests/bfio_test_unused.h | 2 +- 103 files changed, 365 insertions(+), 318 deletions(-) diff --git a/AUTHORS b/AUTHORS index 336aff0..31007cb 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,6 +1,6 @@ Acknowledgements: libbfio -Copyright (C) 2009-2023, Joachim Metz +Copyright (C) 2009-2024, Joachim Metz Additional credits go to: - Xavier Roche, for providing the memory range patches diff --git a/appveyor.yml b/appveyor.yml index 871c568..61c9c9b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -117,8 +117,8 @@ environment: install: - cmd: if [%BUILD_ENVIRONMENT%]==[msbuild] ( git clone https://github.com/libyal/vstools.git ..\vstools ) -- sh: if test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode"; then brew update-reset && brew update -q; fi -- sh: if test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode"; then brew install -q autoconf automake gettext gnu-sed libtool pkg-config || true; fi +- sh: if ( test `uname -s` = "Darwin" && test ${BUILD_ENVIRONMENT} = "python-tox" ) || test ${BUILD_ENVIRONMENT} = "xcode"; then brew update-reset && brew update -q; fi +- sh: if ( test `uname -s` = "Darwin" && test ${BUILD_ENVIRONMENT} = "python-tox" ) || test ${BUILD_ENVIRONMENT} = "xcode"; then brew install -q autoconf automake gettext gnu-sed libtool pkg-config || true; fi - ps: If ($env:BUILD_ENVIRONMENT -eq "cygwin64") { (New-Object Net.WebClient).DownloadFile("https://cygwin.com/setup-x86_64.exe", "C:\\cygwin64\\setup-x86_64.exe") } - cmd: if [%BUILD_ENVIRONMENT%]==[cygwin64] ( @@ -129,7 +129,7 @@ install: $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://uploader.codecov.io/latest/windows/codecov.exe -Outfile ..\codecov.exe } build_script: -- ps: If ($env:BUILD_ENVIRONMENT -eq "msbuild" -or ($env:BUILD_ENVIRONMENT -eq "python" -and $isWindows)) { +- ps: If ($env:BUILD_ENVIRONMENT -eq "msbuild" -or ($env:BUILD_ENVIRONMENT -eq "python-tox" -and $isWindows)) { .\synclibs.ps1; .\autogen.ps1 } - ps: If ($env:TARGET -eq "vs2008") { diff --git a/autogen.ps1 b/autogen.ps1 index ed2049a..fd3f68b 100644 --- a/autogen.ps1 +++ b/autogen.ps1 @@ -1,6 +1,6 @@ # Script to generate the necessary files for a msvscpp build # -# Version: 20230104 +# Version: 20240306 $WinFlex = "..\win_flex_bison\win_flex.exe" $WinBison = "..\win_flex_bison\win_bison.exe" @@ -9,48 +9,56 @@ $Library = Get-Content -Path configure.ac | select -skip 3 -first 1 | % { $_ -Re $Version = Get-Content -Path configure.ac | select -skip 4 -first 1 | % { $_ -Replace " \[","" } | % { $_ -Replace "\],","" } $Prefix = ${Library}.Substring(3) -Get-Content -Path "include\${Library}.h.in" > "include\${Library}.h" -Get-Content -Path "include\${Library}\definitions.h.in" | % { $_ -Replace "@VERSION@","${Version}" } > "include\${Library}\definitions.h" -Get-Content -Path "include\${Library}\features.h.in" | % { $_ -Replace "@[A-Z0-9_]*@","0" } > "include\${Library}\features.h" -Get-Content -Path "include\${Library}\types.h.in" | % { $_ -Replace "@[A-Z0-9_]*@","0" } > "include\${Library}\types.h" -Get-Content -Path "common\types.h.in" | % { $_ -Replace "@PACKAGE@","${Library}" } > "common\types.h" -Get-Content -Path "${Library}\${Library}_definitions.h.in" | % { $_ -Replace "@VERSION@","${Version}" } > "${Library}\${Library}_definitions.h" -Get-Content -Path "${Library}\${Library}.rc.in" | % { $_ -Replace "@VERSION@","${Version}" } > "${Library}\${Library}.rc" +Get-Content -Path "include\${Library}.h.in" | Out-File -Encoding ascii "include\${Library}.h" +Get-Content -Path "include\${Library}\definitions.h.in" | % { $_ -Replace "@VERSION@","${Version}" } | Out-File -Encoding ascii "include\${Library}\definitions.h" +Get-Content -Path "include\${Library}\features.h.in" | % { $_ -Replace "@[A-Z0-9_]*@","0" } | Out-File -Encoding ascii "include\${Library}\features.h" +Get-Content -Path "include\${Library}\types.h.in" | % { $_ -Replace "@[A-Z0-9_]*@","0" } | Out-File -Encoding ascii "include\${Library}\types.h" +Get-Content -Path "common\types.h.in" | % { $_ -Replace "@PACKAGE@","${Library}" } | Out-File -Encoding ascii "common\types.h" +Get-Content -Path "${Library}\${Library}_definitions.h.in" | % { $_ -Replace "@VERSION@","${Version}" } | Out-File -Encoding ascii "${Library}\${Library}_definitions.h" +Get-Content -Path "${Library}\${Library}.rc.in" | % { $_ -Replace "@VERSION@","${Version}" } | Out-File -Encoding ascii "${Library}\${Library}.rc" + +If (Test-Path "setup.cfg.in") +{ + Get-Content -Path "setup.cfg.in" | % { $_ -Replace "@VERSION@","${Version}" } | Out-File -Encoding ascii "setup.cfg" +} If (Test-Path "${Prefix}.net") { - Get-Content -Path "${Prefix}.net\${Prefix}.net.rc.in" | % { $_ -Replace "@VERSION@","${Version}" } > "${Prefix}.net\${Prefix}.net.rc" + Get-Content -Path "${Prefix}.net\${Prefix}.net.rc.in" | % { $_ -Replace "@VERSION@","${Version}" } | Out-File -Encoding ascii "${Prefix}.net\${Prefix}.net.rc" } $NamePrefix = "" -ForEach (${DirectoryElement} in Get-ChildItem -Path "${Library}\*.l") +ForEach (${Library} in Get-ChildItem -Directory -Path "lib*") { - $OutputFile = ${DirectoryElement} -Replace ".l$",".c" + ForEach (${DirectoryElement} in Get-ChildItem -Path "${Library}\*.l") + { + $OutputFile = ${DirectoryElement} -Replace ".l$",".c" - $NamePrefix = Split-Path -path ${DirectoryElement} -leaf - $NamePrefix = ${NamePrefix} -Replace ".l$","_" + $NamePrefix = Split-Path -path ${DirectoryElement} -leaf + $NamePrefix = ${NamePrefix} -Replace ".l$","_" - Write-Host "Running: ${WinFlex} -Cf ${DirectoryElement}" + Write-Host "Running: ${WinFlex} -Cf ${DirectoryElement}" - # PowerShell will raise NativeCommandError if win_flex writes to stdout or stderr - # therefore 2>&1 is added and the output is stored in a variable. - $Output = Invoke-Expression -Command "& '${WinFlex}' -Cf ${DirectoryElement} 2>&1" - Write-Host ${Output} + # PowerShell will raise NativeCommandError if win_flex writes to stdout or stderr + # therefore 2>&1 is added and the output is stored in a variable. + $Output = Invoke-Expression -Command "& '${WinFlex}' -Cf ${DirectoryElement} 2>&1" + Write-Host ${Output} - # Moving manually since win_flex -o does not provide the expected behavior. - Move-Item "lex.yy.c" ${OutputFile} -force -} + # Moving manually since `win_flex -o filename' does not provide the expected behavior. + Move-Item "lex.yy.c" ${OutputFile} -force + } -ForEach (${DirectoryElement} in Get-ChildItem -Path "${Library}\*.y") -{ - $OutputFile = ${DirectoryElement} -Replace ".y$",".c" + ForEach (${DirectoryElement} in Get-ChildItem -Path "${Library}\*.y") + { + $OutputFile = ${DirectoryElement} -Replace ".y$",".c" - Write-Host "Running: ${WinBison} -d -v -l -p ${NamePrefix} -o ${OutputFile} ${DirectoryElement}" + Write-Host "Running: ${WinBison} -d -v -l -p ${NamePrefix} -o ${OutputFile} ${DirectoryElement}" - # PowerShell will raise NativeCommandError if win_bison writes to stdout or stderr - # therefore 2>&1 is added and the output is stored in a variable. - $Output = Invoke-Expression -Command "& '${WinBison}' -d -v -l -p ${NamePrefix} -o ${OutputFile} ${DirectoryElement} 2>&1" - Write-Host ${Output} + # PowerShell will raise NativeCommandError if win_bison writes to stdout or stderr + # therefore 2>&1 is added and the output is stored in a variable. + $Output = Invoke-Expression -Command "& '${WinBison}' -d -v -l -p ${NamePrefix} -o ${OutputFile} ${DirectoryElement} 2>&1" + Write-Host ${Output} + } } diff --git a/common/byte_stream.h b/common/byte_stream.h index 4619f89..09af2bc 100644 --- a/common/byte_stream.h +++ b/common/byte_stream.h @@ -1,7 +1,7 @@ /* * Byte stream functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/common.h b/common/common.h index 7ce3c5e..748f87a 100644 --- a/common/common.h +++ b/common/common.h @@ -1,7 +1,7 @@ /* * Common include file * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/config_borlandc.h b/common/config_borlandc.h index ef90ea6..2ed0f49 100644 --- a/common/config_borlandc.h +++ b/common/config_borlandc.h @@ -1,7 +1,7 @@ /* * Configuration for the Borland/CodeGear C++ Builder compiler * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/config_msc.h b/common/config_msc.h index 689d6a3..1b4185b 100644 --- a/common/config_msc.h +++ b/common/config_msc.h @@ -1,7 +1,7 @@ /* * Configuration for the Microsoft Visual Studio C++ compiler * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/config_winapi.h b/common/config_winapi.h index 4c88a9e..c7d1d1d 100644 --- a/common/config_winapi.h +++ b/common/config_winapi.h @@ -1,7 +1,7 @@ /* * Configuration file for WINAPI * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/file_stream.h b/common/file_stream.h index 04ebd91..5ed5291 100644 --- a/common/file_stream.h +++ b/common/file_stream.h @@ -1,7 +1,7 @@ /* * FILE stream functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/memory.h b/common/memory.h index 19ac211..d139a33 100644 --- a/common/memory.h +++ b/common/memory.h @@ -1,7 +1,7 @@ /* * Memory functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/narrow_string.h b/common/narrow_string.h index c4af8ed..a015cd8 100644 --- a/common/narrow_string.h +++ b/common/narrow_string.h @@ -1,7 +1,7 @@ /* * Narrow character string functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/system_string.h b/common/system_string.h index 29674b8..a6818d7 100644 --- a/common/system_string.h +++ b/common/system_string.h @@ -1,7 +1,7 @@ /* * System character string functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/types.h.in b/common/types.h.in index 3f669bf..30ebd93 100644 --- a/common/types.h.in +++ b/common/types.h.in @@ -1,7 +1,7 @@ /* * Type and type-support definitions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/common/wide_string.h b/common/wide_string.h index 1a60fda..c9f7bb8 100644 --- a/common/wide_string.h +++ b/common/wide_string.h @@ -1,7 +1,7 @@ /* * Wide character string functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/configure.ac b/configure.ac index ad9790b..2caeec2 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ([2.71]) AC_INIT( [libbfio], - [20231226], + [20240313], [joachim.metz@gmail.com]) AC_CONFIG_SRCDIR( diff --git a/dpkg/copyright b/dpkg/copyright index c118940..0c75193 100644 --- a/dpkg/copyright +++ b/dpkg/copyright @@ -3,7 +3,7 @@ Upstream-Name: libbfio Source: https://github.com/libyal/libbfio Files: * -Copyright: 2009-2023, Joachim Metz +Copyright: 2009-2024, Joachim Metz License: LGPL-3.0+ License: LGPL-3.0+ diff --git a/include/libbfio.h.in b/include/libbfio.h.in index 2358521..5a70948 100644 --- a/include/libbfio.h.in +++ b/include/libbfio.h.in @@ -1,7 +1,7 @@ /* * Library to support (abstracted) basic file input/output (IO) * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/include/libbfio/codepage.h b/include/libbfio/codepage.h index 7ed3849..a74fd4e 100644 --- a/include/libbfio/codepage.h +++ b/include/libbfio/codepage.h @@ -1,7 +1,7 @@ /* * Codepage definitions for libbfio * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/include/libbfio/definitions.h.in b/include/libbfio/definitions.h.in index 59eb102..bed3a30 100644 --- a/include/libbfio/definitions.h.in +++ b/include/libbfio/definitions.h.in @@ -1,7 +1,7 @@ /* * Definitions for libbfio * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/include/libbfio/error.h b/include/libbfio/error.h index 0031ca7..9e4c7df 100644 --- a/include/libbfio/error.h +++ b/include/libbfio/error.h @@ -1,7 +1,7 @@ /* * The error code definitions for libbfio * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/include/libbfio/extern.h b/include/libbfio/extern.h index 4a6dcc6..98966d9 100644 --- a/include/libbfio/extern.h +++ b/include/libbfio/extern.h @@ -4,7 +4,7 @@ * This header should be included in header files that export or import * library functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/include/libbfio/features.h.in b/include/libbfio/features.h.in index 50dde5d..9a1f422 100644 --- a/include/libbfio/features.h.in +++ b/include/libbfio/features.h.in @@ -1,7 +1,7 @@ /* * Features of libbfio * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/include/libbfio/types.h.in b/include/libbfio/types.h.in index f7226ca..ddba458 100644 --- a/include/libbfio/types.h.in +++ b/include/libbfio/types.h.in @@ -1,7 +1,7 @@ /* * Type definitions for libbfio * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio.c b/libbfio/libbfio.c index 381bca3..0eb8435 100644 --- a/libbfio/libbfio.c +++ b/libbfio/libbfio.c @@ -1,7 +1,7 @@ /* * Library to support (abstracted) basic file input/output (IO) * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio.rc.in b/libbfio/libbfio.rc.in index b26ae67..aa4e341 100644 --- a/libbfio/libbfio.rc.in +++ b/libbfio/libbfio.rc.in @@ -24,7 +24,7 @@ BEGIN VALUE "FileDescription", "Library to support (abstracted) basic file input/output (IO)\0" VALUE "FileVersion", "@VERSION@" "\0" VALUE "InternalName", "libbfio.dll\0" - VALUE "LegalCopyright", "(C) 2009-2023, Joachim Metz \0" + VALUE "LegalCopyright", "(C) 2009-2024, Joachim Metz \0" VALUE "OriginalFilename", "libbfio.dll\0" VALUE "ProductName", "libbfio\0" VALUE "ProductVersion", "@VERSION@" "\0" diff --git a/libbfio/libbfio_codepage.h b/libbfio/libbfio_codepage.h index 032aaa2..2a06d17 100644 --- a/libbfio/libbfio_codepage.h +++ b/libbfio/libbfio_codepage.h @@ -1,7 +1,7 @@ /* * Codepage functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_definitions.h.in b/libbfio/libbfio_definitions.h.in index 9639f89..98d6758 100644 --- a/libbfio/libbfio_definitions.h.in +++ b/libbfio/libbfio_definitions.h.in @@ -1,7 +1,7 @@ /* * The internal definitions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_error.c b/libbfio/libbfio_error.c index cb8c2f3..f8d30c8 100644 --- a/libbfio/libbfio_error.c +++ b/libbfio/libbfio_error.c @@ -1,7 +1,7 @@ /* * Error functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_error.h b/libbfio/libbfio_error.h index 56cafcf..2ab65c8 100644 --- a/libbfio/libbfio_error.h +++ b/libbfio/libbfio_error.h @@ -1,7 +1,7 @@ /* * Error functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_extern.h b/libbfio/libbfio_extern.h index e50f1cd..e885b2b 100644 --- a/libbfio/libbfio_extern.h +++ b/libbfio/libbfio_extern.h @@ -1,7 +1,7 @@ /* * The internal extern definition * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_file.c b/libbfio/libbfio_file.c index 5c37377..e93c4d1 100644 --- a/libbfio/libbfio_file.c +++ b/libbfio/libbfio_file.c @@ -1,7 +1,7 @@ /* * File functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_file.h b/libbfio/libbfio_file.h index 37ac178..43fb3ab 100644 --- a/libbfio/libbfio_file.h +++ b/libbfio/libbfio_file.h @@ -1,7 +1,7 @@ /* * File functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_file_io_handle.c b/libbfio/libbfio_file_io_handle.c index a337d6f..ae2c177 100644 --- a/libbfio/libbfio_file_io_handle.c +++ b/libbfio/libbfio_file_io_handle.c @@ -1,7 +1,7 @@ /* * File IO handle functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_file_io_handle.h b/libbfio/libbfio_file_io_handle.h index 1693f91..3f4f76b 100644 --- a/libbfio/libbfio_file_io_handle.h +++ b/libbfio/libbfio_file_io_handle.h @@ -1,7 +1,7 @@ /* * File IO handle functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_file_pool.c b/libbfio/libbfio_file_pool.c index 2076ce4..e5395fc 100644 --- a/libbfio/libbfio_file_pool.c +++ b/libbfio/libbfio_file_pool.c @@ -1,7 +1,7 @@ /* * File pool functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_file_pool.h b/libbfio/libbfio_file_pool.h index 5403ab5..e6b9e98 100644 --- a/libbfio/libbfio_file_pool.h +++ b/libbfio/libbfio_file_pool.h @@ -1,7 +1,7 @@ /* * File pool functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_file_range.c b/libbfio/libbfio_file_range.c index b65b78c..fc0b88b 100644 --- a/libbfio/libbfio_file_range.c +++ b/libbfio/libbfio_file_range.c @@ -1,7 +1,7 @@ /* * File range functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_file_range.h b/libbfio/libbfio_file_range.h index 6a42394..0f98891 100644 --- a/libbfio/libbfio_file_range.h +++ b/libbfio/libbfio_file_range.h @@ -1,7 +1,7 @@ /* * File range functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_file_range_io_handle.c b/libbfio/libbfio_file_range_io_handle.c index af4adc1..c2d6ac7 100644 --- a/libbfio/libbfio_file_range_io_handle.c +++ b/libbfio/libbfio_file_range_io_handle.c @@ -1,7 +1,7 @@ /* * File range IO handle functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_file_range_io_handle.h b/libbfio/libbfio_file_range_io_handle.h index d4e0ce7..0a47422 100644 --- a/libbfio/libbfio_file_range_io_handle.h +++ b/libbfio/libbfio_file_range_io_handle.h @@ -1,7 +1,7 @@ /* * File range IO handle functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_handle.c b/libbfio/libbfio_handle.c index 983059e..307f8c6 100644 --- a/libbfio/libbfio_handle.c +++ b/libbfio/libbfio_handle.c @@ -1,7 +1,7 @@ /* * The handle functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_handle.h b/libbfio/libbfio_handle.h index 10f061d..e9c9be4 100644 --- a/libbfio/libbfio_handle.h +++ b/libbfio/libbfio_handle.h @@ -1,7 +1,7 @@ /* * The handle functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_libcdata.h b/libbfio/libbfio_libcdata.h index 4bb3fa5..9083d35 100644 --- a/libbfio/libbfio_libcdata.h +++ b/libbfio/libbfio_libcdata.h @@ -1,7 +1,7 @@ /* * The libcdata header wrapper * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_libcerror.h b/libbfio/libbfio_libcerror.h index a7d5d9b..2a50eb5 100644 --- a/libbfio/libbfio_libcerror.h +++ b/libbfio/libbfio_libcerror.h @@ -1,7 +1,7 @@ /* * The libcerror header wrapper * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_libcfile.h b/libbfio/libbfio_libcfile.h index b19a4e5..6cde029 100644 --- a/libbfio/libbfio_libcfile.h +++ b/libbfio/libbfio_libcfile.h @@ -1,7 +1,7 @@ /* * The internal libcfile header * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_libclocale.h b/libbfio/libbfio_libclocale.h index 0bd0335..5ac6719 100644 --- a/libbfio/libbfio_libclocale.h +++ b/libbfio/libbfio_libclocale.h @@ -1,7 +1,7 @@ /* * The libclocale header wrapper * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_libcpath.h b/libbfio/libbfio_libcpath.h index 0f60790..1e4a2e7 100644 --- a/libbfio/libbfio_libcpath.h +++ b/libbfio/libbfio_libcpath.h @@ -1,7 +1,7 @@ /* * The internal libcpath header * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_libcthreads.h b/libbfio/libbfio_libcthreads.h index de2958c..fd8b748 100644 --- a/libbfio/libbfio_libcthreads.h +++ b/libbfio/libbfio_libcthreads.h @@ -1,7 +1,7 @@ /* * The libcthreads header wrapper * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_libuna.h b/libbfio/libbfio_libuna.h index 82b6b80..2273f90 100644 --- a/libbfio/libbfio_libuna.h +++ b/libbfio/libbfio_libuna.h @@ -1,7 +1,7 @@ /* * The libuna header wrapper * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_memory_range.c b/libbfio/libbfio_memory_range.c index 83ddc41..4952062 100644 --- a/libbfio/libbfio_memory_range.c +++ b/libbfio/libbfio_memory_range.c @@ -1,7 +1,7 @@ /* * Memory range functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_memory_range.h b/libbfio/libbfio_memory_range.h index 9848079..51ce0be 100644 --- a/libbfio/libbfio_memory_range.h +++ b/libbfio/libbfio_memory_range.h @@ -1,7 +1,7 @@ /* * Memory range functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_memory_range_io_handle.c b/libbfio/libbfio_memory_range_io_handle.c index 4925439..15e9ca0 100644 --- a/libbfio/libbfio_memory_range_io_handle.c +++ b/libbfio/libbfio_memory_range_io_handle.c @@ -1,7 +1,7 @@ /* * Memory range IO handle functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_memory_range_io_handle.h b/libbfio/libbfio_memory_range_io_handle.h index 0d8a9a1..d394799 100644 --- a/libbfio/libbfio_memory_range_io_handle.h +++ b/libbfio/libbfio_memory_range_io_handle.h @@ -1,7 +1,7 @@ /* * Memory range IO handle functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_pool.c b/libbfio/libbfio_pool.c index e30aa23..fa7e344 100644 --- a/libbfio/libbfio_pool.c +++ b/libbfio/libbfio_pool.c @@ -1,7 +1,7 @@ /* * The internal pool functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_pool.h b/libbfio/libbfio_pool.h index 759b0d9..94d2f37 100644 --- a/libbfio/libbfio_pool.h +++ b/libbfio/libbfio_pool.h @@ -1,7 +1,7 @@ /* * The internal pool functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_support.c b/libbfio/libbfio_support.c index bfe3b99..0dbfd6c 100644 --- a/libbfio/libbfio_support.c +++ b/libbfio/libbfio_support.c @@ -1,7 +1,7 @@ /* * Support functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_support.h b/libbfio/libbfio_support.h index 8972a92..54f14e1 100644 --- a/libbfio/libbfio_support.h +++ b/libbfio/libbfio_support.h @@ -1,7 +1,7 @@ /* * Support functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_system_string.c b/libbfio/libbfio_system_string.c index b0c0cae..6ba5a6f 100644 --- a/libbfio/libbfio_system_string.c +++ b/libbfio/libbfio_system_string.c @@ -1,7 +1,7 @@ /* * System string functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_system_string.h b/libbfio/libbfio_system_string.h index eae9ec3..4add9be 100644 --- a/libbfio/libbfio_system_string.h +++ b/libbfio/libbfio_system_string.h @@ -1,7 +1,7 @@ /* * System string functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_types.h b/libbfio/libbfio_types.h index e9401ee..04d65fe 100644 --- a/libbfio/libbfio_types.h +++ b/libbfio/libbfio_types.h @@ -1,7 +1,7 @@ /* * The internal type definitions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/libbfio/libbfio_unused.h b/libbfio/libbfio_unused.h index c4f52a7..f70b7fe 100644 --- a/libbfio/libbfio_unused.h +++ b/libbfio/libbfio_unused.h @@ -1,7 +1,7 @@ /* * Definitions to silence compiler warnings about unused function attributes/parameters. * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/m4/common.m4 b/m4/common.m4 index f578de1..71c18b8 100644 --- a/m4/common.m4 +++ b/m4/common.m4 @@ -1,6 +1,6 @@ dnl Checks for common headers and functions dnl -dnl Version: 20181117 +dnl Version: 20240308 dnl Function to test if a certain feature was disabled AC_DEFUN([AX_COMMON_ARG_DISABLE], @@ -26,7 +26,7 @@ AC_DEFUN([AX_COMMON_ARG_ENABLE], [$1], [AS_HELP_STRING( [--enable-$1], - [$3 [default=$4]])], + [$3 @<:@default=$4@:>@])], [ac_cv_enable_$2=$enableval], [ac_cv_enable_$2=$4])dnl @@ -43,7 +43,7 @@ AC_DEFUN([AX_COMMON_ARG_WITH], [$1], [AS_HELP_STRING( [--with-$1[[=$5]]], - [$3 [default=$4]])], + [$3 @<:@default=$4@:>@])], [ac_cv_with_$2=$withval], [ac_cv_with_$2=$4])dnl diff --git a/m4/libcdata.m4 b/m4/libcdata.m4 index 9b57679..309ec51 100644 --- a/m4/libcdata.m4 +++ b/m4/libcdata.m4 @@ -1,6 +1,6 @@ dnl Checks for libcdata required headers and functions dnl -dnl Version: 20230108 +dnl Version: 20240308 dnl Function to detect if libcdata is available dnl ac_libcdata_dummy is used to prevent AC_CHECK_LIB adding unnecessary -l arguments @@ -10,8 +10,10 @@ AC_DEFUN([AX_LIBCDATA_CHECK_LIB], [ac_cv_libcdata=no], [ac_cv_libcdata=check dnl Check if the directory provided as parameter exists + dnl For both --with-libcdata which returns "yes" and --with-libcdata= which returns "" + dnl treat them as auto-detection. AS_IF( - [test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect], + [test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_with_libcdata" != xyes], [AS_IF( [test -d "$ac_cv_with_libcdata"], [CFLAGS="$CFLAGS -I${ac_cv_with_libcdata}/include" @@ -497,8 +499,9 @@ AC_DEFUN([AX_LIBCDATA_CHECK_LIB], ac_cv_libcdata_LIBADD="-lcdata"]) ]) + AS_IF( - [test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_libcdata" != xyes], + [test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_with_libcdata" != xyes], [AC_MSG_FAILURE( [unable to find supported libcdata in directory: $ac_cv_with_libcdata], [1]) diff --git a/m4/libcerror.m4 b/m4/libcerror.m4 index 755722f..7d7f40f 100644 --- a/m4/libcerror.m4 +++ b/m4/libcerror.m4 @@ -1,6 +1,6 @@ dnl Checks for libcerror required headers and functions dnl -dnl Version: 20190308 +dnl Version: 20240308 dnl Function to detect if libcerror is available dnl ac_libcerror_dummy is used to prevent AC_CHECK_LIB adding unnecessary -l arguments @@ -10,8 +10,10 @@ AC_DEFUN([AX_LIBCERROR_CHECK_LIB], [ac_cv_libcerror=no], [ac_cv_libcerror=check dnl Check if the directory provided as parameter exists + dnl For both --with-libcerror which returns "yes" and --with-libcerror= which returns "" + dnl treat them as auto-detection. AS_IF( - [test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect], + [test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_with_libcerror" != xyes], [AS_IF( [test -d "$ac_cv_with_libcerror"], [CFLAGS="$CFLAGS -I${ac_cv_with_libcerror}/include" @@ -99,8 +101,9 @@ AC_DEFUN([AX_LIBCERROR_CHECK_LIB], ac_cv_libcerror_LIBADD="-lcerror"]) ]) + AS_IF( - [test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_libcerror" != xyes], + [test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_with_libcerror" != xyes], [AC_MSG_FAILURE( [unable to find supported libcerror in directory: $ac_cv_with_libcerror], [1]) diff --git a/m4/libcfile.m4 b/m4/libcfile.m4 index 5cfd03d..5596e9c 100644 --- a/m4/libcfile.m4 +++ b/m4/libcfile.m4 @@ -1,6 +1,6 @@ dnl Checks for libcfile required headers and functions dnl -dnl Version: 20190308 +dnl Version: 20240308 dnl Function to detect if libcfile is available dnl ac_libcfile_dummy is used to prevent AC_CHECK_LIB adding unnecessary -l arguments @@ -10,8 +10,10 @@ AC_DEFUN([AX_LIBCFILE_CHECK_LIB], [ac_cv_libcfile=no], [ac_cv_libcfile=check dnl Check if the directory provided as parameter exists + dnl For both --with-libcfile which returns "yes" and --with-libcfile= which returns "" + dnl treat them as auto-detection. AS_IF( - [test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect], + [test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_with_libcfile" != xyes], [AS_IF( [test -d "$ac_cv_with_libcfile"], [CFLAGS="$CFLAGS -I${ac_cv_with_libcfile}/include" @@ -203,8 +205,9 @@ AC_DEFUN([AX_LIBCFILE_CHECK_LIB], ac_cv_libcfile_LIBADD="-lcfile"]) ]) + AS_IF( - [test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_libcfile" != xyes], + [test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_with_libcfile" != xyes], [AC_MSG_FAILURE( [unable to find supported libcfile in directory: $ac_cv_with_libcfile], [1]) diff --git a/m4/libclocale.m4 b/m4/libclocale.m4 index 21508a3..d82d1fd 100644 --- a/m4/libclocale.m4 +++ b/m4/libclocale.m4 @@ -1,6 +1,6 @@ dnl Checks for libclocale required headers and functions dnl -dnl Version: 20190308 +dnl Version: 20240308 dnl Function to detect if libclocale is available dnl ac_libclocale_dummy is used to prevent AC_CHECK_LIB adding unnecessary -l arguments @@ -10,8 +10,10 @@ AC_DEFUN([AX_LIBCLOCALE_CHECK_LIB], [ac_cv_libclocale=no], [ac_cv_libclocale=check dnl Check if the directory provided as parameter exists + dnl For both --with-libclocale which returns "yes" and --with-libclocale= which returns "" + dnl treat them as auto-detection. AS_IF( - [test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect], + [test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_with_libclocale" != xyes], [AS_IF( [test -d "$ac_cv_with_libclocale"], [CFLAGS="$CFLAGS -I${ac_cv_with_libclocale}/include" @@ -126,8 +128,9 @@ AC_DEFUN([AX_LIBCLOCALE_CHECK_LIB], ac_cv_libclocale_LIBADD="-lclocale"]) ]) + AS_IF( - [test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_libclocale" != xyes], + [test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_with_libclocale" != xyes], [AC_MSG_FAILURE( [unable to find supported libclocale in directory: $ac_cv_with_libclocale], [1]) diff --git a/m4/libcnotify.m4 b/m4/libcnotify.m4 index 4c69aad..41cf9e8 100644 --- a/m4/libcnotify.m4 +++ b/m4/libcnotify.m4 @@ -1,6 +1,6 @@ dnl Checks for libcnotify required headers and functions dnl -dnl Version: 20190308 +dnl Version: 20240308 dnl Function to detect if libcnotify is available dnl ac_libcnotify_dummy is used to prevent AC_CHECK_LIB adding unnecessary -l arguments @@ -10,8 +10,10 @@ AC_DEFUN([AX_LIBCNOTIFY_CHECK_LIB], [ac_cv_libcnotify=no], [ac_cv_libcnotify=check dnl Check if the directory provided as parameter exists + dnl For both --with-libcnotify which returns "yes" and --with-libcnotify= which returns "" + dnl treat them as auto-detection. AS_IF( - [test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect], + [test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_with_libcnotify" != xyes], [AS_IF( [test -d "$ac_cv_with_libcnotify"], [CFLAGS="$CFLAGS -I${ac_cv_with_libcnotify}/include" @@ -96,8 +98,9 @@ AC_DEFUN([AX_LIBCNOTIFY_CHECK_LIB], ac_cv_libcnotify_LIBADD="-lcnotify"]) ]) + AS_IF( - [test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_libcnotify" != xyes], + [test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_with_libcnotify" != xyes], [AC_MSG_FAILURE( [unable to find supported libcnotify in directory: $ac_cv_with_libcnotify], [1]) diff --git a/m4/libcpath.m4 b/m4/libcpath.m4 index 7a6fcc0..7001a05 100644 --- a/m4/libcpath.m4 +++ b/m4/libcpath.m4 @@ -1,6 +1,6 @@ dnl Checks for libcpath required headers and functions dnl -dnl Version: 20190308 +dnl Version: 20240308 dnl Function to detect if libcpath is available dnl ac_libcpath_dummy is used to prevent AC_CHECK_LIB adding unnecessary -l arguments @@ -10,8 +10,10 @@ AC_DEFUN([AX_LIBCPATH_CHECK_LIB], [ac_cv_libcpath=no], [ac_cv_libcpath=check dnl Check if the directory provided as parameter exists + dnl For both --with-libcpath which returns "yes" and --with-libcpath= which returns "" + dnl treat them as auto-detection. AS_IF( - [test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect], + [test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_with_libcpath" != xyes], [AS_IF( [test -d "$ac_cv_with_libcpath"], [CFLAGS="$CFLAGS -I${ac_cv_with_libcpath}/include" @@ -152,8 +154,9 @@ AC_DEFUN([AX_LIBCPATH_CHECK_LIB], ac_cv_libcpath_LIBADD="-lcpath"]) ]) + AS_IF( - [test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_libcpath" != xyes], + [test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_with_libcpath" != xyes], [AC_MSG_FAILURE( [unable to find supported libcpath in directory: $ac_cv_with_libcpath], [1]) diff --git a/m4/libcsplit.m4 b/m4/libcsplit.m4 index 4b8e5e3..765360f 100644 --- a/m4/libcsplit.m4 +++ b/m4/libcsplit.m4 @@ -1,6 +1,6 @@ dnl Checks for libcsplit required headers and functions dnl -dnl Version: 20190308 +dnl Version: 20240308 dnl Function to detect if libcsplit is available dnl ac_libcsplit_dummy is used to prevent AC_CHECK_LIB adding unnecessary -l arguments @@ -10,8 +10,10 @@ AC_DEFUN([AX_LIBCSPLIT_CHECK_LIB], [ac_cv_libcsplit=no], [ac_cv_libcsplit=check dnl Check if the directory provided as parameter exists + dnl For both --with-libcsplit which returns "yes" and --with-libcsplit= which returns "" + dnl treat them as auto-detection. AS_IF( - [test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect], + [test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_with_libcsplit" != xyes], [AS_IF( [test -d "$ac_cv_with_libcsplit"], [CFLAGS="$CFLAGS -I${ac_cv_with_libcsplit}/include" @@ -147,8 +149,9 @@ AC_DEFUN([AX_LIBCSPLIT_CHECK_LIB], ac_cv_libcsplit_LIBADD="-lcsplit"]) ]) + AS_IF( - [test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_libcsplit" != xyes], + [test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_with_libcsplit" != xyes], [AC_MSG_FAILURE( [unable to find supported libcsplit in directory: $ac_cv_with_libcsplit], [1]) diff --git a/m4/libcthreads.m4 b/m4/libcthreads.m4 index 5971958..6503ce5 100644 --- a/m4/libcthreads.m4 +++ b/m4/libcthreads.m4 @@ -1,6 +1,6 @@ dnl Checks for libcthreads required headers and functions dnl -dnl Version: 20190308 +dnl Version: 20240308 dnl Function to detect if libcthreads is available dnl ac_libcthreads_dummy is used to prevent AC_CHECK_LIB adding unnecessary -l arguments @@ -10,8 +10,10 @@ AC_DEFUN([AX_LIBCTHREADS_CHECK_LIB], [ac_cv_libcthreads=no], [ac_cv_libcthreads=check dnl Check if the directory provided as parameter exists + dnl For both --with-libcthreads which returns "yes" and --with-libcthreads= which returns "" + dnl treat them as auto-detection. AS_IF( - [test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect], + [test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_with_libcthreads" != xyes], [AS_IF( [test -d "$ac_cv_with_libcthreads"], [CFLAGS="$CFLAGS -I${ac_cv_with_libcthreads}/include" @@ -248,7 +250,7 @@ AC_DEFUN([AX_LIBCTHREADS_CHECK_LIB], ]) AS_IF( - [test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_libcthreads" != xyes], + [test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_with_libcthreads" != xyes], [AC_MSG_FAILURE( [unable to find supported libcthreads in directory: $ac_cv_with_libcthreads], [1]) diff --git a/m4/libuna.m4 b/m4/libuna.m4 index 4462a91..b1301f4 100644 --- a/m4/libuna.m4 +++ b/m4/libuna.m4 @@ -1,6 +1,6 @@ dnl Checks for libuna or required headers and functions dnl -dnl Version: 20230702 +dnl Version: 20240308 dnl Function to detect if a specific libuna definition is available. AC_DEFUN([AX_LIBUNA_CHECK_DEFINITION], @@ -27,8 +27,10 @@ AC_DEFUN([AX_LIBUNA_CHECK_LIB], [ac_cv_libuna=no], [ac_cv_libuna=check dnl Check if the directory provided as parameter exists + dnl For both --with-libuna which returns "yes" and --with-libuna= which returns "" + dnl treat them as auto-detection. AS_IF( - [test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect], + [test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_with_libuna" != xyes], [AS_IF( [test -d "$ac_cv_with_libuna"], [CFLAGS="$CFLAGS -I${ac_cv_with_libuna}/include" @@ -942,8 +944,9 @@ AC_DEFUN([AX_LIBUNA_CHECK_LIB], ac_cv_libuna_LIBADD="-luna"]) ]) + AS_IF( - [test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_libuna" != xyes], + [test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_with_libuna" != xyes], [AC_MSG_FAILURE( [unable to find supported libuna in directory: $ac_cv_with_libuna], [1]) diff --git a/m4/pthread.m4 b/m4/pthread.m4 index 8a19f9c..e4fed14 100644 --- a/m4/pthread.m4 +++ b/m4/pthread.m4 @@ -1,183 +1,196 @@ dnl Functions for pthread dnl -dnl Version: 20130509 +dnl Version: 20240308 dnl Function to detect if pthread is available AC_DEFUN([AX_PTHREAD_CHECK_LIB], - [dnl Check if parameters were provided - AS_IF( - [test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xno && test "x$ac_cv_with_pthread" != xauto-detect], [AS_IF( - [test -d "$ac_cv_with_pthread"], - [CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include" - LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib"], - [AC_MSG_WARN([no such directory: $ac_cv_with_pthread]) - ]) - ]) + [test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_pthread" = xno], + [ac_cv_pthread=no], + [ac_cv_pthread=check + dnl Check if parameters were provided + dnl For both --with-pthread which returns "yes" and --with-pthread= which returns "" + dnl treat them as auto-detection. + AS_IF( + [test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xauto-detect && test "x$ac_cv_with_pthread" != xyes], + [AS_IF( + [test -d "$ac_cv_with_pthread"], + [CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include" + LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib"], + [AC_MSG_WARN([no such directory: $ac_cv_with_pthread]) + ]) + ]) + ]) - AS_IF( - [test "x$ac_cv_with_pthread" = xno], - [ac_cv_pthread=no], - [dnl Check for headers - AC_CHECK_HEADERS([pthread.h]) + AS_IF( + [test "x$ac_cv_pthread" = xcheck], + [dnl Check for headers + AC_CHECK_HEADERS([pthread.h]) - AS_IF( - [test "x$ac_cv_header_pthread_h" = xno], - [ac_cv_pthread=no], - [dnl Check for the individual functions - ac_cv_pthread=pthread - - dnl Thread functions - AC_CHECK_LIB( - pthread, - pthread_create, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_exit, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_join, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - - dnl Condition functions - AC_CHECK_LIB( - pthread, - pthread_cond_init, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_cond_destroy, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_cond_broadcast, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_cond_signal, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_cond_wait, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - - dnl Mutex functions - AC_CHECK_LIB( - pthread, - pthread_mutex_init, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_mutex_destroy, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_mutex_lock, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_mutex_trylock, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_mutex_unlock, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - - dnl Read/Write lock functions - AC_CHECK_LIB( - pthread, - pthread_rwlock_init, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_rwlock_destroy, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_rwlock_rdlock, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_rwlock_wrlock, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - AC_CHECK_LIB( - pthread, - pthread_rwlock_unlock, - [ac_pthread_dummy=yes], - [ac_cv_pthread=no]) - - ac_cv_pthread_LIBADD="-lpthread"; - ]) - ]) + AS_IF( + [test "x$ac_cv_header_pthread_h" = xno], + [ac_cv_pthread=no], + [dnl Check for the individual functions + ac_cv_pthread=pthread - AS_IF( - [test "x$ac_cv_pthread" = xpthread], - [AC_DEFINE( - [HAVE_PTHREAD], - [1], - [Define to 1 if you have the 'pthread' library (-lpthread).]) - ]) + dnl Thread functions + AC_CHECK_LIB( + pthread, + pthread_create, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_exit, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_join, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + + dnl Condition functions + AC_CHECK_LIB( + pthread, + pthread_cond_init, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_cond_destroy, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_cond_broadcast, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_cond_signal, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_cond_wait, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) - AS_IF( - [test "x$ac_cv_pthread" != xno], - [AC_SUBST( - [HAVE_PTHREAD], - [1]) ], - [AC_SUBST( - [HAVE_PTHREAD], - [0]) + dnl Mutex functions + AC_CHECK_LIB( + pthread, + pthread_mutex_init, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_mutex_destroy, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_mutex_lock, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_mutex_trylock, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_mutex_unlock, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + + dnl Read/Write lock functions + AC_CHECK_LIB( + pthread, + pthread_rwlock_init, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_rwlock_destroy, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_rwlock_rdlock, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_rwlock_wrlock, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + AC_CHECK_LIB( + pthread, + pthread_rwlock_unlock, + [ac_pthread_dummy=yes], + [ac_cv_pthread=no]) + + ac_cv_pthread_LIBADD="-lpthread"; + ]) + + AS_IF( + [test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xauto-detect && test "x$ac_cv_with_pthread" != xyes], + [AC_MSG_FAILURE( + [unable to find supported pthread in directory: $ac_cv_with_pthread], + [1]) + ]) + ]) + + AS_IF( + [test "x$ac_cv_pthread" = xpthread], + [AC_DEFINE( + [HAVE_PTHREAD], + [1], + [Define to 1 if you have the 'pthread' library (-lpthread).]) + ]) + + AS_IF( + [test "x$ac_cv_pthread" != xno], + [AC_SUBST( + [HAVE_PTHREAD], + [1]) ], + [AC_SUBST( + [HAVE_PTHREAD], + [0]) + ]) ]) - ]) dnl Function to detect how to enable pthread AC_DEFUN([AX_PTHREAD_CHECK_ENABLE], - [AX_COMMON_ARG_WITH( - [pthread], - [pthread], - [search for pthread in includedir and libdir or in the specified DIR, or no if not to use pthread], - [auto-detect], - [DIR]) - - dnl Check for a shared library version - AX_PTHREAD_CHECK_LIB - - AS_IF( - [test "x$ac_cv_pthread_CPPFLAGS" != "x"], - [AC_SUBST( - [PTHREAD_CPPFLAGS], - [$ac_cv_pthread_CPPFLAGS]) - ]) - AS_IF( - [test "x$ac_cv_pthread_LIBADD" != "x"], - [AC_SUBST( - [PTHREAD_LIBADD], - [$ac_cv_pthread_LIBADD]) - ]) + [AX_COMMON_ARG_WITH( + [pthread], + [pthread], + [search for pthread in includedir and libdir or in the specified DIR, or no if not to use pthread], + [auto-detect], + [DIR]) + + dnl Check for a shared library version + AX_PTHREAD_CHECK_LIB - AS_IF( - [test "x$ac_cv_pthread" = xpthread], - [AC_SUBST( - [ax_pthread_pc_libs_private], - [-lpthread]) + AS_IF( + [test "x$ac_cv_pthread_CPPFLAGS" != "x"], + [AC_SUBST( + [PTHREAD_CPPFLAGS], + [$ac_cv_pthread_CPPFLAGS]) + ]) + AS_IF( + [test "x$ac_cv_pthread_LIBADD" != "x"], + [AC_SUBST( + [PTHREAD_LIBADD], + [$ac_cv_pthread_LIBADD]) + ]) + + AS_IF( + [test "x$ac_cv_pthread" = xpthread], + [AC_SUBST( + [ax_pthread_pc_libs_private], + [-lpthread]) + ]) ]) - ]) diff --git a/manuals/libbfio.3 b/manuals/libbfio.3 index ef480a7..647cb91 100644 --- a/manuals/libbfio.3 +++ b/manuals/libbfio.3 @@ -207,7 +207,7 @@ Please report bugs of any kind on the project issue tracker: https://github.com/ .Sh AUTHOR These man pages are generated from "libbfio.h". .Sh COPYRIGHT -Copyright (C) 2009-2023, Joachim Metz . +Copyright (C) 2009-2024, Joachim Metz . .sp This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/tests/bfio_test_error.c b/tests/bfio_test_error.c index 3a07c65..69055c0 100644 --- a/tests/bfio_test_error.c +++ b/tests/bfio_test_error.c @@ -1,7 +1,7 @@ /* * Library error functions test program * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_file.c b/tests/bfio_test_file.c index e16cc73..cc528dd 100644 --- a/tests/bfio_test_file.c +++ b/tests/bfio_test_file.c @@ -1,7 +1,7 @@ /* * Library file type test program * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_file_io_handle.c b/tests/bfio_test_file_io_handle.c index 4ce48de..dffdbf3 100644 --- a/tests/bfio_test_file_io_handle.c +++ b/tests/bfio_test_file_io_handle.c @@ -1,7 +1,7 @@ /* * Library file_io_handle type test program * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_file_pool.c b/tests/bfio_test_file_pool.c index 5d1a61f..73ba18a 100644 --- a/tests/bfio_test_file_pool.c +++ b/tests/bfio_test_file_pool.c @@ -1,7 +1,7 @@ /* * Library file_pool functions test program * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_file_range.c b/tests/bfio_test_file_range.c index d497b0b..16d87fc 100644 --- a/tests/bfio_test_file_range.c +++ b/tests/bfio_test_file_range.c @@ -1,7 +1,7 @@ /* * Library file_range type test program * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_file_range_io_handle.c b/tests/bfio_test_file_range_io_handle.c index 2915090..2be2d71 100644 --- a/tests/bfio_test_file_range_io_handle.c +++ b/tests/bfio_test_file_range_io_handle.c @@ -1,7 +1,7 @@ /* * Library file_range_io_handle type test program * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_functions.c b/tests/bfio_test_functions.c index b918f6d..3a1516f 100644 --- a/tests/bfio_test_functions.c +++ b/tests/bfio_test_functions.c @@ -1,7 +1,7 @@ /* * Functions for testing * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_functions.h b/tests/bfio_test_functions.h index 10926ac..da0a745 100644 --- a/tests/bfio_test_functions.h +++ b/tests/bfio_test_functions.h @@ -1,7 +1,7 @@ /* * Functions for testing * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_getopt.c b/tests/bfio_test_getopt.c index 44ead1d..4bd9dd6 100644 --- a/tests/bfio_test_getopt.c +++ b/tests/bfio_test_getopt.c @@ -1,7 +1,7 @@ /* * GetOpt functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_getopt.h b/tests/bfio_test_getopt.h index d6480bc..8291163 100644 --- a/tests/bfio_test_getopt.h +++ b/tests/bfio_test_getopt.h @@ -1,7 +1,7 @@ /* * GetOpt functions * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_handle.c b/tests/bfio_test_handle.c index 2140fdf..109f94e 100644 --- a/tests/bfio_test_handle.c +++ b/tests/bfio_test_handle.c @@ -1,7 +1,7 @@ /* * Library handle type test program * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_libbfio.h b/tests/bfio_test_libbfio.h index 01b04b5..5e50cec 100644 --- a/tests/bfio_test_libbfio.h +++ b/tests/bfio_test_libbfio.h @@ -1,7 +1,7 @@ /* * The libbfio header wrapper * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_libcdata.h b/tests/bfio_test_libcdata.h index f0f4553..15d6463 100644 --- a/tests/bfio_test_libcdata.h +++ b/tests/bfio_test_libcdata.h @@ -1,7 +1,7 @@ /* * The libcdata header wrapper * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_libcerror.h b/tests/bfio_test_libcerror.h index 548a139..dcf3ff4 100644 --- a/tests/bfio_test_libcerror.h +++ b/tests/bfio_test_libcerror.h @@ -1,7 +1,7 @@ /* * The libcerror header wrapper * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_libcfile.h b/tests/bfio_test_libcfile.h index b3c50b1..8244629 100644 --- a/tests/bfio_test_libcfile.h +++ b/tests/bfio_test_libcfile.h @@ -1,7 +1,7 @@ /* * The libcfile header wrapper * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_libclocale.h b/tests/bfio_test_libclocale.h index ddc1b78..e0590d8 100644 --- a/tests/bfio_test_libclocale.h +++ b/tests/bfio_test_libclocale.h @@ -1,7 +1,7 @@ /* * The libclocale header wrapper * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_libcnotify.h b/tests/bfio_test_libcnotify.h index a65bf10..3a676eb 100644 --- a/tests/bfio_test_libcnotify.h +++ b/tests/bfio_test_libcnotify.h @@ -1,7 +1,7 @@ /* * The libcnotify header wrapper * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_libcpath.h b/tests/bfio_test_libcpath.h index 691a799..830de80 100644 --- a/tests/bfio_test_libcpath.h +++ b/tests/bfio_test_libcpath.h @@ -1,7 +1,7 @@ /* * The libcpath header wrapper * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_libuna.h b/tests/bfio_test_libuna.h index f9679df..88a99d0 100644 --- a/tests/bfio_test_libuna.h +++ b/tests/bfio_test_libuna.h @@ -1,7 +1,7 @@ /* * The libuna header wrapper * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_macros.h b/tests/bfio_test_macros.h index 84e2a26..9107b73 100644 --- a/tests/bfio_test_macros.h +++ b/tests/bfio_test_macros.h @@ -1,7 +1,7 @@ /* * Macros for testing * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_memory.c b/tests/bfio_test_memory.c index 9804ec1..7336cdc 100644 --- a/tests/bfio_test_memory.c +++ b/tests/bfio_test_memory.c @@ -1,7 +1,7 @@ /* * Memory allocation functions for testing * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_memory.h b/tests/bfio_test_memory.h index 50649de..03d8d95 100644 --- a/tests/bfio_test_memory.h +++ b/tests/bfio_test_memory.h @@ -1,7 +1,7 @@ /* * Memory allocation functions for testing * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_memory_range.c b/tests/bfio_test_memory_range.c index 227d3ec..fb77ace 100644 --- a/tests/bfio_test_memory_range.c +++ b/tests/bfio_test_memory_range.c @@ -1,7 +1,7 @@ /* * Library memory_range type test program * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_memory_range_io_handle.c b/tests/bfio_test_memory_range_io_handle.c index 518897b..a694f25 100644 --- a/tests/bfio_test_memory_range_io_handle.c +++ b/tests/bfio_test_memory_range_io_handle.c @@ -1,7 +1,7 @@ /* * Library memory_range_io_handle type test program * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_pool.c b/tests/bfio_test_pool.c index 340de26..c166be5 100644 --- a/tests/bfio_test_pool.c +++ b/tests/bfio_test_pool.c @@ -1,7 +1,7 @@ /* * Library pool type test program * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_rwlock.c b/tests/bfio_test_rwlock.c index 5c6357e..518ca4a 100644 --- a/tests/bfio_test_rwlock.c +++ b/tests/bfio_test_rwlock.c @@ -1,7 +1,7 @@ /* * Read/Write lock functions for testing * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_rwlock.h b/tests/bfio_test_rwlock.h index 88c1848..97366e6 100644 --- a/tests/bfio_test_rwlock.h +++ b/tests/bfio_test_rwlock.h @@ -1,7 +1,7 @@ /* * Read/Write lock functions for testing * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_support.c b/tests/bfio_test_support.c index ae8ffd0..ef226cf 100644 --- a/tests/bfio_test_support.c +++ b/tests/bfio_test_support.c @@ -1,7 +1,7 @@ /* * Library support functions test program * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_system_string.c b/tests/bfio_test_system_string.c index 43ed0d7..92951c2 100644 --- a/tests/bfio_test_system_string.c +++ b/tests/bfio_test_system_string.c @@ -1,7 +1,7 @@ /* * Library system string functions test program * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. * diff --git a/tests/bfio_test_unused.h b/tests/bfio_test_unused.h index e81de14..e8444ea 100644 --- a/tests/bfio_test_unused.h +++ b/tests/bfio_test_unused.h @@ -1,7 +1,7 @@ /* * Definitions to silence compiler warnings about unused function attributes/parameters. * - * Copyright (C) 2009-2023, Joachim Metz + * Copyright (C) 2009-2024, Joachim Metz * * Refer to AUTHORS for acknowledgements. *