Skip to content

ndctl fails to compile on musl systems due to GNU basename usage #283

@NHOrus

Description

@NHOrus

There are two versions of basename() function: POSIX one from libgen.c that modifies given argument, and GNU extension from string.h that doesn't.
MUSL only inlcudes POSIX one, while ndctl only uses GNU extension.

https://bugs.gentoo.org/937434

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