mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Make automount(8)/automountd(8) treat percent sign as a valid part
of path. It's useful for spaces encoded as %20 as msdosfs labels. Submitted by: glebius@ MFC after: 1 month
This commit is contained in:
parent
e5db20c0c8
commit
6392ec7159
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273107
@ -49,7 +49,7 @@ extern int yylex(void);
|
||||
|
||||
%%
|
||||
\"[^"]+\" { yytext++; yytext[strlen(yytext) - 1] = '\0'; return STR; };
|
||||
[a-zA-Z0-9\.\+-_/\:\[\]$&{}]+ { return STR; }
|
||||
[a-zA-Z0-9\.\+-_/\:\[\]$&%{}]+ { return STR; }
|
||||
#.*\n { lineno++; return NEWLINE; };
|
||||
\\\n { lineno++; };
|
||||
\n { lineno++; return NEWLINE; }
|
||||
|
Loading…
Reference in New Issue
Block a user