Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 130701790bf2d95e902edf16031ff596 > files > 47

autofs-5.0.1-0.rc2.164.el5_8.src.rpm

autofs-5.0.4 - fix bad token declaration

From: Ian Kent <raven@themaw.net>

Fix an incorrect %token declaration in the master map parser.
In some rare cases this can cause the timeout sent from the tokenizer
to the parser to always be zero.
---

 lib/master_parse.y |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


--- autofs-5.0.1.orig/lib/master_parse.y
+++ autofs-5.0.1/lib/master_parse.y
@@ -124,7 +124,7 @@ static int master_fprintf(FILE *, char *
 %token <strtype> MAPNULL
 %token <strtype> MAPXFN
 %token <strtype> MAPNAME
-%token <inttype> NUMBER
+%token <longtype> NUMBER
 %token <strtype> OPTION
 
 %start file