www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22485] New: OpenBSD: Fix core.sys.openbsd.unistd imports


          Issue ID: 22485
           Summary: OpenBSD: Fix core.sys.openbsd.unistd imports
           Product: D
           Version: D2
          Hardware: All
                OS: Other
            Status: NEW
          Severity: trivial
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: bcallah openbsd.org

This one is my fault. The public import core.sys.posix.unistd; in
core.sys.openbsd.unistd ends up breaking code that should otherwise work.

Discovered when trying to use core.sys.openbsd.unistd with std.getopt.

The import isn't needed at all.

Nov 06 2021