PERFORCE change 180747 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Sun Jul 11 04:50:13 UTC 2010


http://p4web.freebsd.org/@@180747?ac=10

Change 180747 by gonzo at gonzo_figaro on 2010/07/11 04:49:33

	merge fix from HEAD for buildworld breakage

Affected files ...

.. //depot/projects/avr32/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l#3 edit

Differences ...

==== //depot/projects/avr32/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l#3 (text+ko) ====

@@ -67,8 +67,12 @@
  * for all subsequent invocations, which is the effect desired.
  */
 #undef  unput
-#define unput(c) \
-	if (c != EOF) yyunput( c, yytext_ptr )
+#define unput(c)					\
+	do {						\
+		int _c = c;				\
+		if (_c != EOF)				\
+			yyunput(_c, yytext_ptr);	\
+	} while(0)
 #endif
 
 static int id_or_type(const char *);


More information about the p4-projects mailing list