source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Protect macro expansion.
@ 2011-07-22 10:36 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-07-22 10:36 UTC (permalink / raw)
  To: source

Log Message:
-----------
Protect macro expansion.

Modified Files:
--------------
    mdocml:
        eqn.c

Revision Data
-------------
Index: eqn.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/eqn.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -Leqn.c -Leqn.c -u -p -r1.24 -r1.25
--- eqn.c
+++ eqn.c
@@ -45,7 +45,7 @@ struct	eqnstr {
 };
 
 #define	STRNEQ(p1, sz1, p2, sz2) \
-	(sz1) == (sz2) && 0 == strncmp((p1), (p2), (sz1))
+	((sz1) == (sz2) && 0 == strncmp((p1), (p2), (sz1)))
 #define	EQNSTREQ(x, p, sz) \
 	STRNEQ((x)->name, (x)->sz, (p), (sz))
 
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-22 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-22 10:36 mdocml: Protect macro expansion kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).