Skip to content

fopen() kills stdin #2

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

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions