-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c884b09
commit 5428945
Showing
7 changed files
with
38 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Build from source on FreeBSD. | ||
name: build_freebsd | ||
on: [push] | ||
permissions: read-all | ||
jobs: | ||
build_freebsd: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Building from source | ||
id: build_freebsd | ||
uses: vmactions/freebsd-vm@v1 | ||
with: | ||
usesh: true | ||
mem: 4096 | ||
# Note that the test scripts require bash | ||
prepare: | | ||
pkg install -y autoconf automake bash byacc flex fusefs-libs gettext git libtool openssl pkgconf | ||
run: | | ||
tests/build.sh | ||
tests/runtests.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
* Signal handling functions | ||
* | ||
* Copyright (C) 2006-2021, Joachim Metz <[email protected]> | ||
* Copyright (C) 2006-2023, Joachim Metz <[email protected]> | ||
* | ||
* Refer to AUTHORS for acknowledgements. | ||
* | ||
|
@@ -40,7 +40,7 @@ void (*ewftools_signal_signal_handler)( ewftools_signal_t ) = NULL; | |
/* Signal handler for Ctrl+C or Ctrl+Break signals | ||
*/ | ||
BOOL WINAPI ewftools_signal_handler( | ||
unsigned long signal ) | ||
ewftools_signal_t signal ) | ||
{ | ||
static char *function = "ewftools_signal_handler"; | ||
|
||
|
@@ -112,7 +112,7 @@ int ewftools_signal_attach( | |
ewftools_signal_signal_handler = signal_handler; | ||
|
||
if( SetConsoleCtrlHandler( | ||
ewftools_signal_handler, | ||
(PHANDLER_ROUTINE) ewftools_signal_handler, | ||
TRUE ) == 0 ) | ||
{ | ||
libcerror_error_set( | ||
|
@@ -179,7 +179,7 @@ int ewftools_signal_detach( | |
static char *function = "ewftools_signal_detach"; | ||
|
||
if( SetConsoleCtrlHandler( | ||
ewftools_signal_handler, | ||
(PHANDLER_ROUTINE) ewftools_signal_handler, | ||
FALSE ) == 0 ) | ||
{ | ||
libcerror_error_set( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# | ||
# Python-bindings support functions test script | ||
# | ||
# Copyright (C) 2006-2021, Joachim Metz <[email protected]> | ||
# Copyright (C) 2006-2023, Joachim Metz <[email protected]> | ||
# | ||
# Refer to AUTHORS for acknowledgements. | ||
# | ||
|
@@ -37,7 +37,7 @@ def test_get_version(self): | |
|
||
def test_check_file_signature(self): | ||
"""Tests the check_file_signature function.""" | ||
test_source = unittest.source | ||
test_source = getattr(unittest, "source", None) | ||
if not test_source: | ||
raise unittest.SkipTest("missing source") | ||
|
||
|
@@ -46,7 +46,7 @@ def test_check_file_signature(self): | |
|
||
def test_check_file_signature_file_object(self): | ||
"""Tests the check_file_signature_file_object function.""" | ||
test_source = unittest.source | ||
test_source = getattr(unittest, "source", None) | ||
if not test_source: | ||
raise unittest.SkipTest("missing source") | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters