https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254092
Bug ID: 254092
Summary: libc: Please implement get_current_dir_name()
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
It is a GNU extension that many ports have to patch away. Ports
replace it with just getcwd(NULL, 0) but it is technically not really
equivalent to that, so it might be worth implementing it just for that.
See the glibc manual [1]. Providing it should not be that costly for us
I think.
musl libc provides an implementation that could be copied [2].
[1] http://www.gnu.org/software/libc/manual/html_node/Working-Directory.html
[2] https://git.musl-libc.org/cgit/musl/tree/src/misc/get_current_dir_name.c
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"