]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/locale/localectl.c
fileio: accept FILE* in addition to path in parse_env_file()
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Mar 2018 20:31:14 +0000 (21:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 24 May 2018 15:01:57 +0000 (17:01 +0200)
commit1a5a177eafa72adfd40916be05f35b71011014b0
treedf4d3504ef6ea99aaf75f9cce66a3dc3127fc296
parente2047ba9ed68aa223715f25e156aeb0665c884ce
fileio: accept FILE* in addition to path in parse_env_file()

Most our other parsing functions do this, let's do this here too,
internally we accept that anyway. Also, the closely related
load_env_file() and load_env_file_pairs() also do this, so let's be
systematic.
29 files changed:
src/basic/fileio.c
src/basic/fileio.h
src/basic/util.c
src/core/locale-setup.c
src/core/main.c
src/firstboot/firstboot.c
src/hostname/hostnamed.c
src/journal-remote/journal-gatewayd.c
src/journal-remote/journal-upload.c
src/journal/journald-stream.c
src/journal/sd-journal.c
src/libsystemd-network/sd-dhcp-lease.c
src/libsystemd/sd-login/sd-login.c
src/libsystemd/sd-network/sd-network.c
src/locale/keymap-util.c
src/locale/localectl.c
src/login/logind-inhibit.c
src/login/logind-session.c
src/login/logind-user.c
src/machine/machine.c
src/network/networkd-link.c
src/network/networkd-lldp-tx.c
src/resolve/resolved-link.c
src/shared/cgroup-show.c
src/shared/condition.c
src/shared/udev-util.c
src/systemctl/systemctl.c
src/test/test-fileio.c
src/vconsole/vconsole-setup.c