Module Name:    src
Committed By:   christos
Date:           Tue Mar  8 14:11:56 UTC 2016

Modified Files:
        src/bin/sh: parser.c

Log Message:
put back some volatile, gcc complains (x86_64)


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/bin/sh/parser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/sh/parser.c
diff -u src/bin/sh/parser.c:1.103 src/bin/sh/parser.c:1.104
--- src/bin/sh/parser.c:1.103	Tue Mar  8 09:10:04 2016
+++ src/bin/sh/parser.c	Tue Mar  8 09:11:56 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: parser.c,v 1.103 2016/03/08 14:10:04 christos Exp $	*/
+/*	$NetBSD: parser.c,v 1.104 2016/03/08 14:11:56 christos Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)parser.c	8.7 (Berkeley) 5/16/95";
 #else
-__RCSID("$NetBSD: parser.c,v 1.103 2016/03/08 14:10:04 christos Exp $");
+__RCSID("$NetBSD: parser.c,v 1.104 2016/03/08 14:11:56 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -1091,8 +1091,8 @@ readtoken1(int firstc, char const *syn, 
 	int len;
 	char line[EOFMARKLEN + 1];
 	struct nodelist *bqlist;
-	int quotef;
-	int oldstyle;
+	volatile int quotef;
+	volatile int oldstyle;
 	VSS static_stack;
 	VSS *stack = &static_stack;
 	VVSS *vstack = stack;

Reply via email to