Page MenuHomeFreeBSD

usr.bin/find: Fix -acl, broken by D13306 (since FreeBSD 12.0)
AcceptedPublic

Authored by phil_krylov.eu on Feb 3 2023, 11:12 PM.
Tags
None
Referenced Files
F84188981: D38378.diff
Mon, May 20, 3:09 PM
Unknown Object (File)
Sat, May 11, 7:54 PM
Unknown Object (File)
Fri, May 3, 5:33 AM
Unknown Object (File)
Apr 9 2024, 3:05 PM
Unknown Object (File)
Apr 3 2024, 2:16 PM
Unknown Object (File)
Mar 8 2024, 8:35 AM
Unknown Object (File)
Feb 27 2024, 9:11 AM
Unknown Object (File)
Feb 10 2024, 9:25 AM
Subscribers

Details

Reviewers
arichardson
imp
Summary

It' s been discussed on D13306 but never got committed.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

imp added inline comments.
usr.bin/find/option.c
45

This looks fine, and matches what was discussed in D13306.

The only weird edge case I can think of with it would be trying to build in a Linux chroot but with the FreeBSD clang compiler so FreeBSD is defined.... That's weird enough that I think we can safely allow that case not to work :)

This revision is now accepted and ready to land.Feb 4 2023, 2:59 PM

Slight preference for __has_include but this also LGTM.

Slight preference for __has_include but this also LGTM.

In D13306 that was rejected because gcc6 didn't support it. However, time has marched on from then. If it's OK to use, then I'll land this review with that change.