]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/coredump/coredump.c
copy: change the various copy_xyz() calls to take a unified flags parameter
authorLennart Poettering <lennart@poettering.net>
Mon, 13 Feb 2017 18:00:22 +0000 (19:00 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 17 Feb 2017 09:22:28 +0000 (10:22 +0100)
commit1c876927e4e63b90f72dd32cbc949a16948fe39e
treedeaa814a4f816e249844ea6695860f60f1fd1fc7
parent7026a775e656bb9cd982fd450e3d9c60d62a0bdf
copy: change the various copy_xyz() calls to take a unified flags parameter

This adds a unified "copy_flags" parameter to all copy_xyz() function
calls, replacing the various boolean flags so far used. This should make
many invocations more readable as it is clear what behaviour is
precisely requested. This also prepares ground for adding support for
more modes later on.
17 files changed:
src/basic/btrfs-util.c
src/basic/copy.c
src/basic/copy.h
src/core/socket.c
src/coredump/coredump.c
src/firstboot/firstboot.c
src/import/pull-raw.c
src/import/pull-tar.c
src/machine/image-dbus.c
src/machine/machine-dbus.c
src/nspawn/nspawn.c
src/shared/machine-image.c
src/shared/pager.c
src/systemctl/systemctl.c
src/sysusers/sysusers.c
src/test/test-copy.c
src/tmpfiles/tmpfiles.c