Skip to content

fopen() kills stdin #2

@githubaf

Description

@githubaf

fopen() kills stdin.
The bug has been fixed in https://github.com/bebbo/libnix/blob/master/sources/nix/stdio/fopen.c
Please review/take over the change if possible.

I just copied his fopen.c into your libnix-tree and recompiled/installed it. Works, error is gone.

Here is a test-file that demonstates the bug:

fopen_test.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions