Page MenuHomeFreeBSD

Change the size argument of __getcwd() to size_t.
ClosedPublic

Authored by brooks on Feb 3 2017, 4:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 15, 1:42 AM
Unknown Object (File)
Wed, Aug 12, 3:34 PM
Unknown Object (File)
Wed, Aug 12, 3:33 PM
Unknown Object (File)
Wed, Aug 12, 3:32 PM
Unknown Object (File)
Wed, Aug 12, 12:28 PM
Unknown Object (File)
Jul 4 2026, 8:51 AM
Unknown Object (File)
Jul 4 2026, 8:50 AM
Unknown Object (File)
Jul 2 2026, 5:44 PM
Subscribers
None

Details

Summary

This matches the getcwd() definition.

This is technically an ABI change, but that would only effect 64-bit
big-endian platforms that pass arguments on the stack. We have none of
those.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7157
Build 7328: arc lint + arc unit

Event Timeline

brooks retitled this revision from to Change the size argument of __getcwd() to size_t..
brooks updated this object.
brooks edited the test plan for this revision. (Show Details)
brooks added a reviewer: jhb.
jhb edited edge metadata.
This revision is now accepted and ready to land.Feb 3 2017, 5:54 PM
This revision was automatically updated to reflect the committed changes.