]>
Commit | Line | Data |
---|---|---|
e5fd101c PS |
1 | autofs-5.0.4 - fix bad token declaration |
2 | ||
3 | From: Ian Kent <raven@themaw.net> | |
4 | ||
5 | Fix an incorrect %token declaration in the master map parser. | |
6 | In some rare cases this can cause the timeout sent from the tokenizer | |
7 | to 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 | ||
15 | diff --git a/CHANGELOG b/CHANGELOG | |
16 | index 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 | ----------------------- | |
27 | diff --git a/lib/master_parse.y b/lib/master_parse.y | |
28 | index 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 |