Page MenuHomeFreeBSD

Allow boostrapping xinstall on Linux
ClosedPublic

Authored by arichardson on Nov 19 2019, 5:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 6, 11:14 AM
Unknown Object (File)
Fri, Mar 6, 6:22 AM
Unknown Object (File)
Thu, Mar 5, 11:26 PM
Unknown Object (File)
Wed, Mar 4, 7:50 PM
Unknown Object (File)
Mon, Mar 2, 12:34 PM
Unknown Object (File)
Mon, Mar 2, 4:59 AM
Unknown Object (File)
Sun, Feb 8, 11:41 AM
Unknown Object (File)
Sat, Feb 7, 7:09 PM
Subscribers

Details

Summary

Linux does not have st_flags so we have to avoid using it there.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27640
Build 25847: arc lint + arc unit

Event Timeline

usr.bin/xinstall/xinstall.c
83

We're sufficiently confident that UF_SETTABLE will remain undefined on Linux? I guess it's not a big deal if this breaks and needs to be fixed, but probably worth a comment here at least.

arichardson added inline comments.
usr.bin/xinstall/xinstall.c
83

Since this is the mask of st_flags values, I would assume support it existing implies st_flags also exists.
This was suggested by @imp in D13307.

This revision is now accepted and ready to land.Nov 20 2019, 4:14 PM
usr.bin/xinstall/xinstall.c
83

We are as confident as we can be about Linux...

This revision was automatically updated to reflect the committed changes.