summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2009-07-19 23:16:29 +0000
committermillert <millert@openbsd.org>2009-07-19 23:16:29 +0000
commit88b546fa7b5bb4de77c580be87cda7daac79fb7a (patch)
tree1c5f7245c40ff367dfd155e4622618a88a0ebd6a
parentfix fwrite return code checking. (diff)
downloadwireguard-openbsd-88b546fa7b5bb4de77c580be87cda7daac79fb7a.tar.xz
wireguard-openbsd-88b546fa7b5bb4de77c580be87cda7daac79fb7a.zip
Fix expansion of %h in #include names.
-rw-r--r--usr.bin/sudo/toke.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/sudo/toke.l b/usr.bin/sudo/toke.l
index 9b93563558f..3fbfd2c36b7 100644
--- a/usr.bin/sudo/toke.l
+++ b/usr.bin/sudo/toke.l
@@ -72,7 +72,7 @@
#include <gram.h>
#ifndef lint
-__unused static const char rcsid[] = "$Sudo: toke.l,v 1.37 2009/05/27 00:46:51 millert Exp $";
+__unused static const char rcsid[] = "$Sudo: toke.l,v 1.38 2009/07/18 13:55:37 millert Exp $";
#endif /* lint */
extern YYSTYPE yylval;
@@ -971,6 +971,7 @@ parse_include(base)
memcpy(pp, user_shost, shost_len);
pp += shost_len;
cp += 2;
+ continue;
}
*pp++ = *cp++;
}