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, Jan 17, 8:27 PM
Unknown Object (File)
Sat, Jan 10, 6:15 AM
Unknown Object (File)
Nov 24 2025, 3:05 PM
Unknown Object (File)
Nov 22 2025, 3:16 PM
Unknown Object (File)
Nov 15 2025, 11:14 AM
Unknown Object (File)
Nov 1 2025, 2:37 AM
Unknown Object (File)
Oct 31 2025, 6:23 PM
Unknown Object (File)
Oct 31 2025, 2:23 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

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

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.