Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt file_op and bzip2_op compatibility for windows #433

Open
ncvicchi opened this issue Dec 16, 2024 · 0 comments
Open

Adapt file_op and bzip2_op compatibility for windows #433

ncvicchi opened this issue Dec 16, 2024 · 0 comments
Labels

Comments

@ncvicchi
Copy link
Member

ncvicchi commented Dec 16, 2024

Description

file_op.c it is not being used for inventory (aka syscollector) in Windows, but it is used in Linux.
Since it might be used or necessary in the future, this issue requires that file_op and bzip2_op to be developed for Windows also.

Tasks

  1. Analyze Dependencies

    • Review the existing implementations of file_op.c and bzip2_op.c on Linux.
    • Identify the dependencies and features that need to be ported or adjusted for Windows.
  2. Develop Windows-Compatible Modules

    • Implement file_op.c functionality for Windows, ensuring compatibility with the Windows.
    • Port bzip2_op.c to Windows, leveraging an appropriate compression library (e.g., bzip2 with Windows-specific adjustments).
  3. Testing

    • Develop unit tests to validate the new Windows implementations.
    • Conduct cross-platform testing to ensure consistent behavior between Windows and Linux.

Related Issues and PRs

@cborla cborla changed the title Platform Abstraction Layer - file_op compatibility for windows Adapt file_op and bzip2_op compatibility for windows Dec 16, 2024
@wazuhci wazuhci moved this to Backlog in Release 5.0.0 Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant