Simon McVittie 44c004c84e Normalize C source files to end with exactly one newline
Some editors automatically remove trailing blank lines, or
automatically add a trailing newline to avoid having a trailing
non-blank line that is not terminated by a newline. To avoid unrelated
whitespace changes when users of such editors contribute to GLib,
let's pre-emptively normalize all files.

Unlike more intrusive whitespace normalization like removing trailing
whitespace from each line, this seems unlikely to cause significant
issues with cherry-picking changes to stable branches.

Implemented by:

    find . -name '*.[ch]' -print0 | \
    xargs -0 perl -0777 -p -i -e 's/\n+\z//g; s/\z/\n/g'

Signed-off-by: Simon McVittie <smcv@collabora.com>
2020-06-10 09:48:02 +01:00
..
2005-10-05 17:37:46 +00:00
2017-05-29 19:53:35 +02:00
2018-09-21 08:45:54 -04:00
2017-05-29 19:53:35 +02:00
2017-05-29 19:53:35 +02:00
2017-05-29 19:53:35 +02:00
2012-11-15 14:19:06 -05:00
2017-05-29 19:53:35 +02:00
2017-05-29 19:53:35 +02:00
2011-05-01 17:10:04 -04:00
2017-05-29 19:53:35 +02:00
2019-10-09 16:39:31 +02:00
2013-11-10 22:44:12 +01:00