CVS log for mandoc/compat_ohash.c

[BACK] Up to [] / mandoc

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: MAIN

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 15 01:37:15 2020 UTC (15 months, 1 week ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD
Changes since 1.6: +2 -11 lines
Diff to previous 1.6 (unified)

Only compile compat_*.c implementations that are actually needed.
That's cleaner and it is supposed to fix compiler warnings with gcc 10
reported by Wynn Wolf Arbor <wolf at oriole dot systems> on discuss@.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 16 19:00:01 2014 UTC (7 years, 1 month ago) by schwarze
Branch: MAIN
CVS Tags: 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_3, VERSION_1_13_2, VERSION_1_13
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (unified)

Improve build system and autodetection.
* Make ./configure standalone, that's what people expect.
* Let people write a ./configure.local from scratch, not edit existing files.
* Autodetect wchar, sqlite3, and manpath and act accordingly.
* Autodetect the need for -L/usr/local/lib and -lutil.
* Get rid of config.h.p{re,ost}, let ./configure only write what's needed.
* Let ./configure write a Makefile.local snippet, that's quite flexible.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 10 23:54:41 2014 UTC (7 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (unified)

Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.
Include <sys/types.h> where needed, it does not belong in config.h.
Remove <stdio.h> from config.h; if it is missing somewhere, it should
be added, but i cannot find a *.c file where it is missing.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 20 02:24:40 2014 UTC (7 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_1
Changes since 1.3: +18 -14 lines
Diff to previous 1.3 (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 (7 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.2: +46 -48 lines
Diff to previous 1.2 (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 (7 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (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 (9 years, 3 months ago) by kristaps
Branch: MAIN

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.