Page MenuHomeFreeBSD

run uncrustify over vtfontcvt.c
Needs ReviewPublic

Authored by domagoj.stolfa_gmail.com on May 13 2021, 3:16 PM.
Tags
None
Referenced Files
F148671714: D30248.id89142.diff
Thu, Mar 19, 12:56 PM
Unknown Object (File)
Thu, Mar 12, 6:19 PM
Unknown Object (File)
Thu, Mar 12, 6:09 PM
Unknown Object (File)
Thu, Mar 12, 12:24 PM
Unknown Object (File)
Thu, Mar 12, 12:06 PM
Unknown Object (File)
Wed, Mar 11, 9:56 AM
Unknown Object (File)
Sat, Feb 28, 4:47 PM
Unknown Object (File)
Jan 28 2026, 9:32 AM
Subscribers

Details

Reviewers
emaste
Summary

Posted as an example of running a FreeBSD-ish uncrustify config (https://reviews.freebsd.org/P500: based on https://github.com/freebsd/pkg/blob/master/freebsd.cfg with minor changes) over vtfontcvt.c to compare to https://reviews.freebsd.org/D26340.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

usr.bin/vtfontcvt/vtfontcvt.c
56

This whole struct is not great.

65

Should the brace be on a new line here?

225

TAILQ_FOREACH is treated as a for loop here through:

set FOR TAILQ_FOREACH

should it be?

573

This is wrong

581

Same as line 573

1126

This doesn't look right.

Remove a whole bunch of noise compared to the previous diff.