Skip to content

Commit f899483

Browse files
committed
Changes for deployment
1 parent 4527311 commit f899483

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

fsntfstools/info_handle.c

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4821,29 +4821,30 @@ int info_handle_file_entry_value_fprint(
48214821

48224822
goto on_error;
48234823
}
4824-
fprintf(
4825-
info_handle->notify_stream,
4826-
"\tParent file reference\t\t: " );
4827-
4828-
if( ( result == 0 )
4829-
|| ( parent_file_reference == 0 ) )
4824+
else if( result != 0 )
48304825
{
48314826
fprintf(
48324827
info_handle->notify_stream,
4833-
"Not set (0)" );
4834-
}
4835-
else
4836-
{
4828+
"\tParent file reference\t\t: " );
4829+
4830+
if( parent_file_reference == 0 )
4831+
{
4832+
fprintf(
4833+
info_handle->notify_stream,
4834+
"Not set (0)" );
4835+
}
4836+
else
4837+
{
4838+
fprintf(
4839+
info_handle->notify_stream,
4840+
"%" PRIu64 "-%" PRIu64 "",
4841+
parent_file_reference & 0xffffffffffffUL,
4842+
parent_file_reference >> 48 );
4843+
}
48374844
fprintf(
48384845
info_handle->notify_stream,
4839-
"%" PRIu64 "-%" PRIu64 "",
4840-
parent_file_reference & 0xffffffffffffUL,
4841-
parent_file_reference >> 48 );
4846+
"\n" );
48424847
}
4843-
fprintf(
4844-
info_handle->notify_stream,
4845-
"\n" );
4846-
48474848
if( libfsntfs_file_entry_get_size(
48484849
file_entry,
48494850
&size,

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
#
33
# Script to build and install Python-bindings.
4-
# Version: 20230909
4+
# Version: 20251028
55

66
from __future__ import print_function
77

@@ -111,7 +111,7 @@ def run(self):
111111
source_package_file = glob.glob("*.tar.gz")[0]
112112
source_package_prefix, _, source_package_suffix = (
113113
source_package_file.partition("-"))
114-
sdist_package_file = "{0:s}-python-{1:s}".format(
114+
sdist_package_file = "{0:s}_python-{1:s}".format(
115115
source_package_prefix, source_package_suffix)
116116
sdist_package_file = os.path.join(self.dist_dir, sdist_package_file)
117117
os.rename(source_package_file, sdist_package_file)

0 commit comments

Comments
 (0)