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
Unknown Object (File)
Oct 2 2024, 8:50 AM
Unknown Object (File)
Sep 29 2024, 9:42 PM
Unknown Object (File)
Jul 12 2024, 3:15 AM
Unknown Object (File)
Jun 29 2024, 3:10 PM
Unknown Object (File)
May 20 2024, 3:09 PM
Unknown Object (File)
May 11 2024, 7:54 PM
Unknown Object (File)
May 3 2024, 5:33 AM
Unknown Object (File)
Apr 9 2024, 3:05 PM
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.