The POSIX basename() function is allowed to modify its input buffer,
which means its argument is "char *". Pull a copy of the input string
before computing the base.
Details
Details
- Reviewers
pfg jtl - Commits
- rS300669: Make code compile when basename() is POSIX compliant.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 3838 Build 3881: arc lint + arc unit