summaryrefslogtreecommitdiff
path: root/mount/debian/patches/udfs-fsdb-fsdb_lex.l.patch
blob: 04a63500085cac1d8c5006cb3056e5f6679dbcdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: mount/usr/src/cmd/fs.d/udfs/fsdb/fsdb_lex.l
===================================================================
--- mount.orig/usr/src/cmd/fs.d/udfs/fsdb/fsdb_lex.l	2012-10-08 00:25:23.000000000 +0000
+++ mount/usr/src/cmd/fs.d/udfs/fsdb/fsdb_lex.l	2013-02-12 00:59:11.007190969 +0000
@@ -1,3 +1,4 @@
+%option noyywrap
 %{
 /*
  * CDDL HEADER START
@@ -121,7 +122,7 @@
 :{WS}*uniq			{ return UNIQ; }
 
 
-[-0-9a-zA-Z._]+		{ yylval.strval = yytext; return WORD; }
+[-0-9a-zA-Z._]+		{ yylval.strval = (unsigned char *)yytext; return WORD; }
 
 .		{ return yytext[0]; }