apache / apache/celix

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

Open
#771 0 comments 0 reactions 0 assignees View on GitHub
component/framework component/utils kind/api-change kind/improvement
Dominant language
C
Stars
193
Forks
99
Avg merge
1m
Merged PRs (30d)
1

Description

# 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.