source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Make sure that "any" is UINT64_MAX, not just INT_MAX, else "any"
@ 2011-12-16 12:07 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-12-16 12:07 UTC (permalink / raw)
  To: source

Log Message:
-----------
Make sure that "any" is UINT64_MAX, not just INT_MAX, else "any" won't 
cover all types.  Found after some database trawling.

Modified Files:
--------------
    mdocml:
        apropos_db.c

Revision Data
-------------
Index: apropos_db.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/apropos_db.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -Lapropos_db.c -Lapropos_db.c -u -p -r1.24 -r1.25
--- apropos_db.c
+++ apropos_db.c
@@ -117,7 +117,7 @@ static	const struct type types[] = {
 	{ TYPE_Va, "Va" },
 	{ TYPE_Va, "Vt" },
 	{ TYPE_Xr, "Xr" },
-	{ INT_MAX, "any" },
+	{ UINT64_MAX, "any" },
 	{ 0, NULL }
 };
 
--
 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-12-16 12:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-16 12:07 mdocml: Make sure that "any" is UINT64_MAX, not just INT_MAX, else "any" 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).