Skip to content

Add missing libewf_extent_get_values() to support multi-extent files (and minor fix for MSVSCPP project) - #218

Open
datasynergyuk wants to merge 2 commits into
libyal:mainfrom
datasynergyuk:main
Open

Add missing libewf_extent_get_values() to support multi-extent files (and minor fix for MSVSCPP project)#218
datasynergyuk wants to merge 2 commits into
libyal:mainfrom
datasynergyuk:main

Conversation

@datasynergyuk

Copy link
Copy Markdown

Add missing libewf_extent_get_values() to support multi-extent files. This will allow existing code to stop using deprecated methods: get_media_data_offset()/get_media_data_size(). An extra bonus is that data_flags comes back per-extent, so per-extent sparse detection now becomes possible

Also fixed "LINK : fatal error LNK1181: cannot open input file '..\release\bzip2.lib'" in MSVSCPP build. Fix is to add 'libbz2.def' module defintion (.def) file so that the MSVSCPP project will emit required LIB file. Also modified project output filename to match bzip2/libbzip2 default of "LIBBZ2.dll". This is a partial fix for just the DLL name issue. The full fix would be to rename the project "LIBBZ2", however, this may have other implications so I have not touched this.

…se\bzip2.lib'" in MSVSCPP build. Fix is to add 'libbz2.def' module defintion (.def) file so that the MSVSCPP project will emit required LIB file. Also modified project output filename to match bzip2/libbzip2 default of "LIBBZ2.dll". This is a partial fix for the DLL name issue. The full fix would be to rename the project "LIBBZ2", however, this may have other implications so I have not touched this.
… This will allow existing code to stop using deprecated methods get_media_data_offset()/get_media_data_size(). An extra bonus is that data_flags comes back per-extent , so per-extent sparse detection now becomes possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant