Page MenuHomeFreeBSD

Refine the dirname(3) compatibility workaround a bit more.
ClosedPublic

Authored by ed on Sep 9 2016, 7:18 PM.
Tags
None
Referenced Files
F154371599: D7844.id.diff
Tue, Apr 28, 4:29 AM
Unknown Object (File)
Sat, Apr 25, 7:01 AM
Unknown Object (File)
Thu, Apr 23, 1:18 AM
Unknown Object (File)
Thu, Apr 23, 12:57 AM
Unknown Object (File)
Tue, Apr 21, 6:46 PM
Unknown Object (File)
Tue, Apr 21, 8:02 AM
Unknown Object (File)
Tue, Apr 21, 7:49 AM
Unknown Object (File)
Tue, Apr 21, 2:49 AM
Subscribers

Details

Summary

Right now our workaround is so good that it doesn't throw any warnings
on misuse. This means that people will keep on using the old version
of dirname(3) silently without fixing their code.

Go ahead and change the prototype of __old_dirname() to also use a plain
char *, so that we still get a compiler warning.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ed retitled this revision from to Refine the dirname(3) compatibility workaround a bit more..
ed updated this object.
ed edited the test plan for this revision. (Show Details)
ed added reviewers: bdrewery, madpilot.
This revision was automatically updated to reflect the committed changes.