From owner-svn-src-all@FreeBSD.ORG Tue May 19 01:10:34 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 01A30A5D; Tue, 19 May 2015 01:10:34 +0000 (UTC) Received: from st11p00im-asmtp003.me.com (st11p00im-asmtp003.me.com [17.172.80.97]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CBEE11EB7; Tue, 19 May 2015 01:10:33 +0000 (UTC) Received: from akita.localnet (c-73-162-13-215.hsd1.ca.comcast.net [73.162.13.215]) by st11p00im-asmtp003.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NOK00ABRLTAKG00@st11p00im-asmtp003.me.com>; Tue, 19 May 2015 00:10:24 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-05-18_04:2015-05-18,2015-05-18,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1505190001 From: Rui Paulo To: Mark Johnston Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r283025 - head/cddl/contrib/opensolaris/lib/libdtrace/common Date: Mon, 18 May 2015 17:10:21 -0700 Message-id: <1729865.rvUmYdjvWE@akita> User-Agent: KMail/4.14.3 (FreeBSD/11.0-CURRENT; KDE/4.14.3; amd64; ; ) In-reply-to: <201505170359.t4H3x9uK006154@svn.freebsd.org> References: <201505170359.t4H3x9uK006154@svn.freebsd.org> MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset=us-ascii X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 01:10:34 -0000 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