[Dnsmasq-discuss] Nonstandard Formatting?

Dominik DL6ER dl6er at dl6er.de
Fri Sep 17 06:04:56 UTC 2021


Hey Carson,

this question comes up every one to two years. Sometimes trailing
whitespace are part of it. Plenty of details can be found in the
mailing list archive (link at the bottom of each mail). The
archive is also indexed by Google et al.

On Thu, 2021-09-16 at 20:19 +0000, Carson Riker wrote:
> Is there some pattern I am missing

Indentation level is 2 spaces. Every 4 indentation (= 8 spaces)
the spaces are replaced by a single tabstop, i.e.,

|
ss|
ssss|
ssssss|
t       |
t       ss|
t       ssss|
etc.

This follows GNU indent style (with standard tab width of 8).
Everything in the code is consistently indented when using the
standard tabwidth.


On Thu, 2021-09-16 at 20:19 +0000, Carson Riker wrote:
> would a PR standardizing things be welcome?

See
https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2019q4/013414.html

Best regards,
Dominik




More information about the Dnsmasq-discuss mailing list