mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 09:56:51 +03:00
f647962d64
Using: find . -name '*.[ch]' | while read f; do perl -i.mmm -e \ 'local $/; local $_=<>; s/(if\s*\([^\n]+\))\s*{\n(\s*)(log_[a-z_]*_errno\(\s*([->a-zA-Z_]+)\s*,[^;]+);\s*return\s+\g4;\s+}/\1\n\2return \3;/msg; print;' $f done And a couple of manual whitespace fixups. |
||
---|---|---|
.. | ||
Makefile | ||
path.c |