aboutsummaryrefslogtreecommitdiff
path: root/bin/gensquashfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-07-10 12:22:26 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-07-21 10:19:51 +0200
commit5781bc71b5fb5410d8fa5017c7832a34a00f1cc1 (patch)
tree4786968ef4f29bf51c3ffdc61c0b5c8be99092d5 /bin/gensquashfs
parent25d1702d01c38481a09b33ccb3f843a69d2727c6 (diff)
Cleanup: table driven pax header parsing
Instead of having a long if-else-if chain, replace the PAX header field parsing with a table driven approach. Altough it is more code, it is hopefully more readable, maintainable, extensible and it dedupliates some of the value parsing code. The GNU.sparse parsing is left as is, because it requires maintaining state. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/gensquashfs')
0 files changed, 0 insertions, 0 deletions