glib/gio/kqueue
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
..
dep-list.c Normalize C source files to end with exactly one newline 2020-06-10 09:48:02 +01:00
dep-list.h GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
gkqueuefilemonitor.c kqueue: Do not return early from _kqsub_cancel 2019-11-27 22:49:56 +08:00
kqueue-helper.c Normalize C source files to end with exactly one newline 2020-06-10 09:48:02 +01:00
kqueue-helper.h kqueue: Make it possible to pass file monitor tests 2018-06-17 11:26:32 +08:00
kqueue-missing.c kqueue: Use the worker context to schedule rescanning of missing files 2018-06-17 11:26:32 +08:00
meson.build build: Drop use of G_DISABLE_DEPRECATED from the build system 2019-05-30 10:38:45 +01:00