]> git.pld-linux.org Git - packages/autofs.git/blame - autofs-5.0.4-fix-bad-token-declare.patch
- import latest patchset.
[packages/autofs.git] / autofs-5.0.4-fix-bad-token-declare.patch
CommitLineData
e5fd101c
PS
1autofs-5.0.4 - fix bad token declaration
2
3From: Ian Kent <raven@themaw.net>
4
5Fix an incorrect %token declaration in the master map parser.
6In some rare cases this can cause the timeout sent from the tokenizer
7to the parser to always be zero.
8---
9
10 CHANGELOG | 1 +
11 lib/master_parse.y | 2 +-
12 2 files changed, 2 insertions(+), 1 deletions(-)
13
14
15diff --git a/CHANGELOG b/CHANGELOG
16index 0ce2a56..fdde400 100644
17--- a/CHANGELOG
18+++ b/CHANGELOG
19@@ -26,6 +26,7 @@
20 - cleanup configure defines for libtirpc.
21 - add WITH_LIBTIRPC to -V status report.
22 - add nfs mount protocol default configuration option.
23+- fix bad token declaration in master map parser.
24
25 4/11/2008 autofs-5.0.4
26 -----------------------
27diff --git a/lib/master_parse.y b/lib/master_parse.y
28index 3e598d9..454a2ed 100644
29--- a/lib/master_parse.y
30+++ b/lib/master_parse.y
31@@ -122,7 +122,7 @@ static int master_fprintf(FILE *, char *, ...);
32 %token <strtype> MAPNULL
33 %token <strtype> MAPXFN
34 %token <strtype> MAPNAME
35-%token <inttype> NUMBER
36+%token <longtype> NUMBER
37 %token <strtype> OPTION
38
39 %start file
This page took 0.045258 seconds and 4 git commands to generate.