]> git.ipfire.org Git - thirdparty/systemd.git/commit
unquote_first_word: set *p=NULL on termination
authorRichard Maw <richard.maw@codethink.co.uk>
Fri, 19 Jun 2015 16:38:06 +0000 (16:38 +0000)
committerRichard Maw <richard.maw@codethink.co.uk>
Fri, 7 Aug 2015 15:50:42 +0000 (15:50 +0000)
commit53f0db71771bf757b6b429525a4e5db3dcf3afef
tree3e6d260d7220dd3fe2fd71fab44193a7bd9ee6ff
parent4b1c17535115b70f4ddf4bf5850049b885a40173
unquote_first_word: set *p=NULL on termination

To add a flag to allow an empty string to be parsed as an argument, we
need to be able to distinguish between the end of the string, and after
the end of the string, so when we *do* reach the end, let's set *p to
this state.
src/basic/util.c