Page MenuHomeFreeBSD

cp: change flags from integers to booleans
AcceptedPublic

Authored by ehem_freebsd_m5p.com on Feb 27 2021, 1:02 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 OK
Unit
No Unit 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.