Skip to content

New dependency on openat(2) breaks old systems #816

@McDutchie

Description

@McDutchie

The dependency on openat(2) that was introduced by 3d7b7e1 (#805) breaks the build on older systems that don't have that syscall, at least QNX 6.5.0 and Mac OS X 10.3.7, and likely others.

Turns out openat was not standardised until POSIX Issue 7 (2008), so it's only portable on relatively recent systems.

I would like ksh to continue to work on old systems. This is not just for the geek value of it; old or obscure systems sometimes expose bugs that newer or more common ones hide. The more systems we can test on, the better.

cc @JohnoKing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions