Fix expansion of %h in #include names. Fixes bugzilla 363

This commit is contained in:
Todd C. Miller
2009-07-18 13:55:37 +00:00
parent 51e292a474
commit b8ca82fee6
2 changed files with 2 additions and 0 deletions

1
toke.c
View File

@@ -3592,6 +3592,7 @@ parse_include(base)
memcpy(pp, user_shost, shost_len);
pp += shost_len;
cp += 2;
continue;
}
*pp++ = *cp++;
}

1
toke.l
View File

@@ -971,6 +971,7 @@ parse_include(base)
memcpy(pp, user_shost, shost_len);
pp += shost_len;
cp += 2;
continue;
}
*pp++ = *cp++;
}