FreeBSD Bugzilla – Attachment 117016 Details for
Bug 159064
[dtrace] MFC request for dtrace to fix "invalid probe specifier"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 835 bytes, created by
Oleksii Samorukov
on 2011-07-20 20:10:10 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Oleksii Samorukov
Created:
2011-07-20 20:10:10 UTC
Size:
835 bytes
patch
obsolete
>--- dt_lex.l.orig 2010-11-08 12:54:55.000000000 +0000 >+++ dt_lex.l.new 2010-08-02 13:40:53.000000000 +0000 >@@ -44,7 +44,7 @@ > #undef input > #undef unput > #else >-/* >+/* > * Define YY_INPUT for flex since input() can't be re-defined. > */ > #define YY_INPUT(buf,result,max_size) \ >@@ -59,6 +59,19 @@ > buf[n] = *yypcb->pcb_strptr++; \ > result = n; \ > } >+/* >+ * Do not EOF let tokens to 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. >+ */ >+#undef unput >+#define unput(c) \ >+ do { \ >+ int _c = c; \ >+ if (_c != EOF) \ >+ yyunput(_c, yytext_ptr); \ >+ } while(0) > #endif > > static int id_or_type(const char *);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 159064
: 117016