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)
Wed, Feb 25, 11:57 PM
Unknown Object (File)
Sun, Feb 15, 10:14 PM
Unknown Object (File)
Jan 17 2026, 8:27 PM
Unknown Object (File)
Jan 10 2026, 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
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.