aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-08-19 16:25:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-30 13:32:09 -0700
commit59a68fe9b5bdeb2d557a26c58e43564169fa7746 (patch)
tree627d072ce13b19a6c0796e0cb884a975cab322a1 /INSTALL
parent2de8e70ab04b0cc254a1d04f31e7e02db57743fa (diff)
downloadsubsurface-59a68fe9b5bdeb2d557a26c58e43564169fa7746.tar.gz
Parser: split out name-comparison from match() function
The match() function in parse-xml.c calls a very specific callback, which doesn't take a context-parameter. To be able to call other callbacks, split out the actual name-comparison. Moreover, remove the "plen" parameter, as this was called with strlen(pattern) in all cases anyway. Replace the old logic which potentially accessed a byte beyond the end of name with a simply classical C-style loop. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions