svn commit: r283025 - head/cddl/contrib/opensolaris/lib/libdtrace/common
Rui Paulo
rpaulo at me.com
Tue May 19 01:10:34 UTC 2015
On Sunday 17 May 2015 03:59:09 Mark Johnston wrote:
> Author: markj
> Date: Sun May 17 03:59:08 2015
> New Revision: 283025
> URL: https://svnweb.freebsd.org/changeset/base/283025
>
> Log:
> As dtrace(1) processes D libraries under /usr/lib/dtrace, the compiler may
> return an error if one of the depends_on directives in a library is not
> satisfied. In this case, libdtrace is supposed to ignore the library and
> carry on. However, the remainder of the library may still be buffered by
> the lexer, causing libdtrace to erroneously continue processing it on the
> next call to yyparse(). Fix this by explicitly flushing the input buffer
> each time the compiler state is reset.
Hmm, nice catch!
--
Rui Paulo
More information about the svn-src-head
mailing list