CVS log for mandoc/dbm.c

[BACK] Up to [cvsweb.bsd.lv] / mandoc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 1 22:56:24 2019 UTC (13 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

delete trailing whitespace and space-tab sequences; no code change;
patch from Michal Nowak <mnowak at startmail dot com>
who found these with git pbchk in the illumos tree

Revision 1.6 / (download) - annotate - [select for diffs], Mon Nov 19 19:22:07 2018 UTC (20 months, 2 weeks ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

Correctly construct empty lists in dbm_page_get().

Original commit message by the author of this bugfix patch, bluhm@:

lstmatch() expects a list of strings separated by \0 and terminated
with \0\0.  In the NULL case dbm_page_get() returned only simple
strings so correct processing was depending on data layout.  Use
an additional \0 to terminate the single string lists.  Found by
mandoc regress since llvm linker on amd64 arranges strings differently.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 18 22:27:25 2016 UTC (3 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_4, VERSION_1_14_3, VERSION_1_14_2, VERSION_1_14_1
Changes since 1.4: +23 -19 lines
Diff to previous 1.4 (colored)

The termination condition of the iteration logic in page_bymacro()
was overzealous.  Consequently, macro=substr and macro~regexp searches
only returned all pages containing the first matching macro value,
rather than all pages containing any of the matching macro values.
Bug reported by tb@ - thanks!

Revision 1.4 / (download) - annotate - [select for diffs], Tue Aug 30 22:01:07 2016 UTC (3 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +16 -2 lines
Diff to previous 1.3 (colored)

When the database is corrupt in the sense of containing invalid
pointers in the pages table, do not access NULL pointers, but
gracefully handle the errors.
Similar patches will be needed for the macro tables, too.
<attila at stalphonsos dot com> audited the code and pointed out to me
that dbm_get() can return NULL for corrupted databases, but that isn't
handled properly at various places.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 5 23:15:08 2016 UTC (4 years ago) by schwarze
Branch: MAIN
Changes since 1.2: +7 -1 lines
Diff to previous 1.2 (colored)

The concept of endianness seems to be somewhat newfangled, so the
respective conversion functions are not yet properly standardized.
Rumour has it that POSIX is working on it, though.
For now, sprinkle some configuration glue.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jul 20 00:23:14 2016 UTC (4 years ago) by schwarze
Branch: MAIN
Changes since 1.1: +5 -1 lines
Diff to previous 1.1 (colored)

Linux compatibility: Work around the lack of EFTYPE and protect <err.h>.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 19 21:31:55 2016 UTC (4 years ago) by schwarze
Branch: MAIN

Remove the dependency on SQLite without loss of functionality.
Stop supporting systems that don't have mmap(3).
Drop the obsolete names_check() now that we deleted MLINKS.

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.




CVSweb