Skip to content

Refactor ASF Celix file utils and FILE* usage to work with libuv Stream Abstraction #771

Open
@pnoltes

Description

@pnoltes

Introduction

Refactor file utilities that currently use FILE* to use libuv's file and stream abstractions (uv_fs_t, uv_file). This ensures better cross-platform file handling.

Steps

  • Replace FILE* usage in the public api with uv_file

This includes the celix_filter.h, celix_properties.g, celix_bundle context.h headers and many more.

  • Replace FILE* usage in the internal code

This includes usage of fprintf, open_memstream, etc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/frameworkCategorizes an issue or PR relevant to the framework.component/utilsCategorizes an issue or PR relevant to the utils.kind/api-changeCategorizes issue or PR as related to adding, removing, or otherwise changing an APIkind/improvementCategorizes issue or PR as related to improvements.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions