[30294] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit: Fix getdate.y compatability with POSIX yacc

daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Sep 26 18:28:40 2018

Date: Wed, 26 Sep 2018 18:28:27 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201809262228.w8QMSRHj027250@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

commit 4e126e2cae8c3a63f252776ac6efc93a2d8e0d5c
Author: Robbie Harwood <rharwood@redhat.com>
Date:   Tue Sep 25 13:20:55 2018 -0400

    Fix getdate.y compatability with POSIX yacc
    Commit 28fd0a934cdc7b3b42ce213c6d334d4edf1ab591 muted a warning from
    bison about shift/reduce conflicts in the grammer.  However, the
    extension for suppressing the warning is bison-only.  Revert that
    portion of the change and live with the warning rather than adding
    additional conditionalization.  Reported by Michael Osipov.

 src/kadmin/cli/getdate.y |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/kadmin/cli/getdate.y b/src/kadmin/cli/getdate.y
index cb039ac..4f0fac2 100644
--- a/src/kadmin/cli/getdate.y
+++ b/src/kadmin/cli/getdate.y
@@ -176,8 +176,9 @@ static time_t	yyRelSeconds;
-/* Mute shift/reduce warning as per header comment. */
-%expect 4
+/* This would mute the shift/reduce warnings as per header comment; however,
+ * it relies on bison extensions. */
+/* %expect 4 */
 %union {
     time_t		Number;
cvs-krb5 mailing list

home help back first fref pref prev next nref lref last post