chiark / gitweb /
shared: rework env file reader
authorLennart Poettering <lennart@poettering.net>
Wed, 3 Apr 2013 17:04:03 +0000 (19:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 3 Apr 2013 18:12:57 +0000 (20:12 +0200)
commitf73141d7657b3f60b8669bc8386413d8a8a372c6
treea2fc0917431fa8498c1c0ac2ae9c7c8ac4f00163
parent7f602784de4fd378120e8ebfe6d830862b9cae03
shared: rework env file reader

Implement this with a proper state machine, so that newlines and
escaped chars can appear in string assignments. This should bring the
parser much closer to shell.
.gitignore
Makefile.am
src/core/execute.c
src/hostname/hostnamed.c
src/locale/localed.c
src/shared/fileio.c
src/shared/fileio.h
src/test/test-fileio.c [new file with mode: 0644]
src/test/test-unit-file.c