From b8ca82fee67bc694540314bfb348507ec0f0b58b Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 18 Jul 2009 13:55:37 +0000 Subject: [PATCH] Fix expansion of %h in #include names. Fixes bugzilla 363 --- toke.c | 1 + toke.l | 1 + 2 files changed, 2 insertions(+) diff --git a/toke.c b/toke.c index 81d2857f0..c9a3c1bf6 100644 --- a/toke.c +++ b/toke.c @@ -3592,6 +3592,7 @@ parse_include(base) memcpy(pp, user_shost, shost_len); pp += shost_len; cp += 2; + continue; } *pp++ = *cp++; } diff --git a/toke.l b/toke.l index c123ce927..e7023e7e2 100644 --- a/toke.l +++ b/toke.l @@ -971,6 +971,7 @@ parse_include(base) memcpy(pp, user_shost, shost_len); pp += shost_len; cp += 2; + continue; } *pp++ = *cp++; } -- 2.40.0