Page MenuHomeFreeBSD

libc/gen: split user-visible opendir()-like functions into separate source files
ClosedPublic

Authored by kib on Feb 20 2025, 11:49 PM.
Tags
None
Referenced Files
F115509571: D49089.diff
Thu, Apr 24, 3:40 PM
Unknown Object (File)
Tue, Apr 8, 12:31 PM
Unknown Object (File)
Mon, Apr 7, 6:25 AM
Unknown Object (File)
Mar 15 2025, 1:11 AM
Unknown Object (File)
Mar 7 2025, 10:30 AM
Unknown Object (File)
Feb 26 2025, 10:43 AM
Unknown Object (File)
Feb 26 2025, 10:43 AM
Unknown Object (File)
Feb 26 2025, 10:42 AM

Details

Summary

This allows, for instance, to interpose opendir() with an implementation
that calls into fdopendir(), without causing multiple symbol definitions
when libc is linked in statically.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Feb 20 2025, 11:49 PM
brooks added a subscriber: delphij.

Seems fine overall.

fdopendir.c almost certainly shouldn't have a Regents copyright. @delphij wrote the initial trivial version in 6fda52ba75654d8a540536228390922bfae1db69.

This revision is now accepted and ready to land.Feb 21 2025, 12:53 AM