Page MenuHomeFreeBSD

Allow boostrapping xinstall on Linux
ClosedPublic

Authored by arichardson on Nov 19 2019, 5:58 PM.
Tags
None
Referenced Files
F170618120: D22446.id.diff
Sat, Sep 5, 4:16 PM
F170455950: D22446.diff
Fri, Sep 4, 10:08 PM
Unknown Object (File)
Thu, Sep 3, 9:30 PM
Unknown Object (File)
Thu, Sep 3, 12:45 PM
Unknown Object (File)
Thu, Sep 3, 12:42 PM
Unknown Object (File)
Thu, Sep 3, 12:40 PM
Unknown Object (File)
Thu, Sep 3, 10:12 AM
Unknown Object (File)
Thu, Sep 3, 4:52 AM
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.