Page MenuHomeFreeBSD

cp: change flags from integers to booleans
AcceptedPublic

Authored by ehem_freebsd_m5p.com on Feb 27 2021, 1:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 22 2024, 2:02 PM
Unknown Object (File)
Jan 11 2024, 3:31 AM
Unknown Object (File)
Dec 20 2023, 7:30 AM
Unknown Object (File)
Nov 8 2023, 3:28 PM
Unknown Object (File)
Oct 7 2023, 2:13 PM
Unknown Object (File)
Sep 16 2023, 4:08 AM
Unknown Object (File)
Aug 20 2023, 12:16 AM
Unknown Object (File)
Jun 16 2023, 3:37 AM

Details

Reviewers
asomers
Summary

Using int for boolean values is a long tradition. Since there is now
substantial standardization for boolean types in C, use the standards
and have these booleans be bool instead.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37425
Build 34314: arc lint + arc unit

Event Timeline

Hmm, seems arc diff doesn't quite work the way I thought it did...

cp: change flags from integers to booleans

Using int for boolean values is a long tradition. Since there is now
substantial standardization for boolean types in C, use the standards
and have these booleans be bool instead.

This revision is now accepted and ready to land.Feb 27 2021, 1:20 AM

Little bit of funkiness in the original differential due to learning about how Phabricator handles things. Update was simply chopping the squashed message back to what it should have been.