From: Jaroslav Kysela Date: Thu, 8 Nov 2001 14:58:51 +0000 (+0000) Subject: Discard newline when backslash is the last character before new-line in a string... X-Git-Tag: v1.0.3~607 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=91f0887bdd499a00dec35062120b8d14f9857402;p=alsa-lib.git Discard newline when backslash is the last character before new-line in a string constant --- diff --git a/src/conf.c b/src/conf.c index 671b2d77..872001c2 100644 --- a/src/conf.c +++ b/src/conf.c @@ -346,6 +346,8 @@ static int get_delimstring(char **string, int delim, input_t *input) c = get_quotedchar(input); if (c < 0) return c; + if (c == '\n') + continue; break; default: if (c == delim) {