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, Sep 12, 2:20 PM
Unknown Object (File)
Fri, Sep 11, 9:29 PM
Unknown Object (File)
Fri, Sep 11, 12:36 PM
Unknown Object (File)
Thu, Sep 10, 7:27 AM
Unknown Object (File)
Thu, Sep 10, 2:35 AM
Unknown Object (File)
Wed, Sep 9, 2:31 PM
Unknown Object (File)
Sun, Sep 6, 11:45 AM
Unknown Object (File)
Aug 15 2026, 1:42 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.