HomeFreeBSD

MFC r283025:

Description

MFC r283025:
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.

Details

Provenance
markjAuthored on
Parents
rS284130: Remove uneeded code (already done by pw_make_v7)
Branches
Unknown
Tags
Unknown