Page MenuHomeFreeBSD

Allow building setmode.c on Linux/macOS
ClosedPublic

Authored by arichardson on Aug 3 2020, 2:41 PM.
Tags
None
Referenced Files
F163256738: D25929.id75322.diff
Tue, Jul 21, 12:01 PM
F163193868: D25929.id75306.diff
Mon, Jul 20, 10:44 PM
Unknown Object (File)
Wed, Jul 8, 10:33 PM
Unknown Object (File)
Wed, Jul 8, 1:54 AM
Unknown Object (File)
Wed, Jul 8, 12:57 AM
Unknown Object (File)
Sat, Jul 4, 1:58 PM
Unknown Object (File)
Sat, Jul 4, 1:00 PM
Unknown Object (File)
Tue, Jun 30, 4:15 AM
Subscribers

Details

Summary

We bootstrap this file to allow compiling FreeBSD on Linux systems since
some boostrap tools use setmode(). Unfortunately, glibc's sys/stat.h
declares a non-static getumask() function (which is unimplemented!) and
that conflicts with the local getumask() function. To work around this
simply use a different name here.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32719
Build 30163: arc lint + arc unit

Event Timeline

arichardson created this revision.

remove file that wasn't intended for this change

OK, this is sufficiently unobtrusive

This revision is now accepted and ready to land.Aug 3 2020, 3:00 PM
This revision was automatically updated to reflect the committed changes.