Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.6 / (download) - annotate - [select for diffs], Wed Aug 15 14:37:41 2018 UTC (5 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6,
VERSION_1_14_5,
HEAD
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (unified)
Change comment: NetBSD just fixed their headers; but leave the workaround in place for now for the benefit of older systems, and other systems might contain similar problems.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Aug 15 02:15:52 2018 UTC (5 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.4: +8 -5 lines
Diff to previous 1.4 (unified)
Autodetect whether _GNU_SOURCE or _OPENBSD_SOURCE are needed; the latter is a NetBSD idiosyncrasy reported by wiz@. Also take into account that NetBSD declares getsubopt(3) in the wrong header.
Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 6 18:32:20 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_4,
VERSION_1_14_3,
VERSION_1_14_2,
VERSION_1_14_1,
VERSION_1_13_4,
VERSION_1_13
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (unified)
modernize style: "return" is not a function
Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 17 20:53:50 2014 UTC (9 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_3,
VERSION_1_13_2
Changes since 1.2: +19 -4 lines
Diff to previous 1.2 (unified)
Do not require getsubopt() to provide extern char *suboptarg. We don't use it anyway in mandoc. Like this, fewer systems need the compat implementation. In particular, we can now use the stock getsubopt() on glibc and musl. Besides, the comment in the BSD getsubopt.c that error messages are tricky without *suboptarg is massively overblown. If you simply save a copy of the pointer you pass into getsubopt(), that's quite usable for an error message. People start campaigning for the addition of *suboptarg to C libraries on the grounds that mandoc wants it, but actually, i consider library functions manipulating global data quite ugly, so stop pushing people into that questionable direction. While here, add an explicit Copyright header to the test file. While it's obviously to me what Kristaps intended, others might consider this file copyrightable and wonder what's up.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 4 01:11:00 2014 UTC (10 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_1,
VERSION_1_12_4,
VERSION_1_12
Changes since 1.1: +10 -3 lines
Diff to previous 1.1 (unified)
Clean up feature tests: * Split the configure steering script out of the Makefile. * Let the configure step depend on the test sources. * Clean up the test programs such that they can be run.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 24 18:15:14 2011 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_12_3,
VERSION_1_12_2,
VERSION_1_12_1,
VERSION_1_12_0,
VERSION_1_11_7,
VERSION_1_11_6,
VERSION_1_11_5
Scary-looking but otherwise harmless changes allow me to build for Windows. That is to say, with mingw32. This amounts to the following: (1) break compat.c into compat_strlcpy.c and compat_strlcat.c (2) add compat_getsubopt.c (from OpenBSD) and test-getsubopt.c (3) add test-strptime.c for HAVE_STRPTIME (4) add ifdef bits here and there, where necessary (5) remove some harmless unportable stuff (u_char, localtime_r) I've added the appropriate mdocml.zip target to the Makefile, too.