Page MenuHomeFreeBSD

D28603.diff
No OneTemporary

D28603.diff

Index: cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l
===================================================================
--- cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l
+++ cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l
@@ -64,7 +64,7 @@
result = n; \
}
/*
- * Do not EOF let tokens to be put back. This does not work with flex.
+ * Do not let EOF tokens be put back. This does not work with flex.
* On the other hand, leaving current buffer in same state it was when
* last EOF was received guarantees that input() will keep returning EOF
* for all subsequent invocations, which is the effect desired.
@@ -73,7 +73,7 @@
#define unput(c) \
do { \
int _c = c; \
- if (_c != EOF) \
+ if (_c != 0) \
yyunput(_c, yytext_ptr); \
} while(0)
#endif

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 12:26 AM (20 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15759257
Default Alt Text
D28603.diff (815 B)

Event Timeline