summaryrefslogtreecommitdiff
path: root/src/fsck/fsck.c
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2015-10-22 23:12:31 -0700
committerFilipe Brandenburger <filbranden@google.com>2015-10-22 23:12:31 -0700
commit4cbf8afa0487b75525313b586853823ba5763d8e (patch)
treed078e8301c30be36b87e72460fe3b3c579b2b1cf /src/fsck/fsck.c
parentc9fc270e462bf2f4eab963bf71234d64b0c4c30f (diff)
util: Replace state with separate booleans in extract_first_word
This simplifies the logic and uniformizes the way single and double quotes are handled. In the end, the code is about 40 lines shorter. Tested by running the excellent test cases from test-util. Also installed the systemd binaries including this patch and booted a system with it, everything looked normal.
Diffstat (limited to 'src/fsck/fsck.c')
0 files changed, 0 insertions, 0 deletions