[Bug 275936] /usr/include/glob.h is missing the GLOB_ONLYDIR extension
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Dec 2023 22:59:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275936 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 doesn't contain GLOB_ONLYDIR. The Linux man page https://man7.org/linux/man-pages/man3/glob.3.html says that 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 (“POSIX.2”), 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 can't be ported w/out GLOB_ONLYDIR. -- You are receiving this mail because: You are the assignee for the bug.