Page MenuHomeFreeBSD

Allow boostrapping xinstall on Linux
ClosedPublic

Authored by arichardson on Nov 19 2019, 5:58 PM.
Tags
None
Referenced Files
F170210287: D22446.id.diff
Thu, Sep 3, 9:30 PM
F170103264: D22446.id64580.diff
Thu, Sep 3, 12:45 PM
F170102758: D22446.id64623.diff
Thu, Sep 3, 12:42 PM
F170101954: D22446.diff
Thu, Sep 3, 12:40 PM
F170065579: D22446.id64623.diff
Thu, Sep 3, 10:12 AM
F169987245: D22446.diff
Thu, Sep 3, 4:52 AM
Unknown Object (File)
Wed, Sep 2, 1:18 AM
Unknown Object (File)
Tue, Sep 1, 7:28 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

usr.bin/xinstall/xinstall.c
83 ↗(On Diff #64580)

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 ↗(On Diff #64580)

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 ↗(On Diff #64580)

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

This revision was automatically updated to reflect the committed changes.