Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Dec 2023 22:59:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275936] /usr/include/glob.h is missing the GLOB_ONLYDIR extension
Message-ID:  <bug-275936-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275936

            Bug ID: 275936
           Summary: /usr/include/glob.h is missing the GLOB_ONLYDIR
                    extension
           Product: Base System
           Version: 14.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

/usr/include/glob.h is an implementation of the "glob" interface and it doe=
sn't
contain GLOB_ONLYDIR.

The Linux man page https://man7.org/linux/man-pages/man3/glob.3.html says t=
hat
GLOB_ONLYDIR is an extension of the POSIX interface.
The FreeBSD man page glob(3) also lists some non-standard extensions to IEEE
Std 1003.2 (=E2=80=9CPOSIX.2=E2=80=9D), but GLOB_ONLYDIR isn't listed.

The latest version of the rpm project (Linux-based package archive) uses
GLOB_ONLYDIR here:
https://github.com/rpm-software-management/rpm/blob/master/rpmio/rpmglob.c#=
L88

Please add GLOB_ONLYDIR - at least the latest version of the rpm project ca=
n't
be ported w/out GLOB_ONLYDIR.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275936-227>