Page MenuHomeFreeBSD

Make code compile when basename() is POSIX compliant.
ClosedPublic

Authored by ed on May 19 2016, 8:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 14 2025, 4:32 AM
Unknown Object (File)
Sep 3 2025, 12:15 AM
Unknown Object (File)
Jul 26 2025, 8:07 PM
Unknown Object (File)
Jul 6 2025, 3:27 AM
Unknown Object (File)
Jun 26 2025, 3:31 AM
Unknown Object (File)
Jun 24 2025, 9:20 PM
Unknown Object (File)
Jun 23 2025, 1:16 AM
Unknown Object (File)
Jun 21 2025, 1:04 AM
Subscribers

Details

Summary

In addition to the previous change I made to ar.c, pull in another
basename() related fix. This change is similar to the one made to the
ELF Toolchain version of ar, with the difference that the ELF Toolchain
version lacks error handling for the strdup() call.

Diff Detail

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

Event Timeline

ed retitled this revision from to Make code compile when basename() is POSIX compliant..
ed updated this object.
ed edited the test plan for this revision. (Show Details)
ed added a reviewer: emaste.
emaste edited edge metadata.
This revision is now accepted and ready to land.May 26 2016, 1:42 PM
This revision was automatically updated to reflect the committed changes.