Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107157830
D28603.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
815 B
Referenced Files
None
Subscribers
None
D28603.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D28603: libdtrace: Don't try to unput a nul terminator
Attached
Detach File
Event Timeline
Log In to Comment