Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.6 / (download) - annotate - [select for diffs], Sat Nov 7 14:01:16 2015 UTC (8 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6,
VERSION_1_14_5,
VERSION_1_14_4,
VERSION_1_14_3,
VERSION_1_14_2,
VERSION_1_14_1,
VERSION_1_13_4,
VERSION_1_13,
HEAD
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (unified)
In private header files, __BEGIN_DECLS and __END_DECLS are pointless. Because these work slightly differently on different systems, they are becoming a maintenance burden in the portable version, so delete them. Besides, one of the chief design goals of the mandoc toolbox is to make sure that nothing related to documentation requires C++. Consequently, linking mandoc against any kind of C++ program would defeat the purpose and is not supported. I don't understand why kristaps@ added them in the first place.
Revision 1.5 / (download) - annotate - [selected], Fri Aug 8 23:43:47 2014 UTC (10 years, 1 month ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_3,
VERSION_1_13_2,
VERSION_1_13_1
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (unified)
Delete the __attribute__((__bounded__(...))) annotation. That's an OpenBSD-specific gcc-4.2.1 security extension. It's certainly a bad idea to use such stuff in a compatibility header, as other operating systems just won't understand it.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 20 02:24:40 2014 UTC (10 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (unified) to selected 1.5 (unified)
Merge from OpenBSD - Marc Espie improved the ohash interface: * rename the halloc callback to calloc, provide overflow protection * rename the hfree callback to free, drop the useless size argument * prevent integer overflows in ohash_resize
Revision 1.3 / (download) - annotate - [select for diffs], Fri Jun 20 02:10:05 2014 UTC (10 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.2: +6 -5 lines
Diff to previous 1.2 (unified) to selected 1.5 (unified)
sync to OpenBSD: whitespace and comment changes, no functional change
Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 4 14:09:28 2014 UTC (10 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (unified) to selected 1.5 (unified)
Use C99 uint32_t, not BSD-style u_int32_t. Needed for Solaris 10 as reported by Matthias Scheler.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Jun 9 11:00:13 2012 UTC (12 years, 3 months ago) by kristaps
Branch: MAIN
Diff to selected 1.5 (unified)
Add a compatibility interface for ohash. This include's espie@'s wholesale src/lib/libc/ohash directory from OpenBSD into compat_ohash.c (with a single copyright/license notice at the top) and src/include/ohash.h as compat_ohash.h. The ohash_int.h part of compat_ohash.c has been changed only in that ohash.h points to compat_ohash.h. Added HAVE_OHASH test (test-ohash.c) to Makefile. In mandocdb.c and mansearch.c, check HAVE_OHASH test for inclusion.