The NetBSD Project

CVS log for src/usr.sbin/makemandb/makemandb.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / makemandb

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.19 / (download) - annotate - [select for diffs], Wed May 15 00:35:02 2013 UTC (7 days, 14 hours ago) by christos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +8 -4 lines
Diff to previous 1.18 (colored)

avoid stdio assertion, failing later

Revision 1.18 / (download) - annotate - [select for diffs], Sun Feb 10 23:24:18 2013 UTC (3 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-nbase, tls-maxphys-base, agc-symver-base, agc-symver
Changes since 1.17: +25 -25 lines
Diff to previous 1.17 (colored)

remove trailing whitespace

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jan 14 18:01:59 2013 UTC (4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

Since mdocml decided to name headers that conflict with system ones (term.h)
move the header inclusion one up.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 8 19:17:54 2012 UTC (6 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored)

If you cannot parse .SH NAME, like in the case of the ksh93 man page
where the .SH is followed by a conditional:

.SH NAME
.if \nZ=0 \{\
text text text
.\}

at least don't core-dump.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Oct 6 15:33:59 2012 UTC (7 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.14: +18 -14 lines
Diff to previous 1.14 (colored)

Make mandb path configurable. makemandb (and related tools) use
the path from the _mandb variable from man.conf now.

Set _mandb in man.conf to same value as was used before.

From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 7 11:29:04 2012 UTC (8 months, 1 week ago) by wiz
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Use emalloc in one more place, like the rest of the code does.
From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 29 20:33:01 2012 UTC (8 months, 3 weeks ago) by wiz
Branch: MAIN
Changes since 1.12: +64 -32 lines
Diff to previous 1.12 (colored)

Add -Q flag:
Print only fatal error messages (i.e., when the database is left in
an inconsistent state and needs manual intervention).

From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Aug 25 12:37:12 2012 UTC (8 months, 3 weeks ago) by wiz
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Sync usage with manpage.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Aug 11 21:07:13 2012 UTC (9 months, 1 week ago) by wiz
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

Bug fix for PR 46733:
 > makemandb always reports the same number for "Total Number of new or
 > updated pages enountered" and "Total number of (hard or symbolic)
 > links found".

Patch from Abhinav Upadhyay.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 8 23:18:23 2012 UTC (10 months, 1 week ago) by uwe
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Fix typo in a message.

Revision 1.9 / (download) - annotate - [select for diffs], Mon May 7 11:18:16 2012 UTC (12 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base5
Changes since 1.8: +6 -4 lines
Diff to previous 1.8 (colored)

PR 46419 by Abhinav Upadhyay using his updated patch:
Clean up after removing man page aliases.

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 4 23:50:26 2012 UTC (12 months, 2 weeks ago) by wiz
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

The new apropos(1) incorrectly displays hyphens in the first line
of the search results for a few man pages (for man(7) based man
pages).

Use patch from Abhinav Upadhyay in PR 46408 to fix this.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 2 15:09:58 2012 UTC (14 months, 2 weeks ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Branch point for: yamt-pagecache
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Fix inverted condition when handling stale entries.
From Abhinav Upadhyay.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 27 16:51:06 2012 UTC (14 months, 3 weeks ago) by joerg
Branch: MAIN
Changes since 1.5: +35 -17 lines
Diff to previous 1.5 (colored)

Expand workaround for .so usage to do the chdir call just before
starting parsing, not during the tree iteration. This gives it a chance
to work.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 16 20:58:55 2012 UTC (15 months ago) by joerg
Branch: MAIN
Changes since 1.4: +90 -23 lines
Diff to previous 1.4 (colored)

Add support for compressed man pages in all the usual formats.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 15 23:36:10 2012 UTC (15 months ago) by joerg
Branch: MAIN
Changes since 1.3: +17 -7 lines
Diff to previous 1.3 (colored)

Also handle hyphen replacement if it was used as plain input and no
backslash sequence was used at all in the line.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Feb 15 23:35:00 2012 UTC (15 months ago) by joerg
Branch: MAIN
Changes since 1.2: +7 -3 lines
Diff to previous 1.2 (colored)

Be a bit more friendly to man pages using the roff .so command by
changing the current directory to the parent of the man -p entry, e.g.
/usr/share/man for /usr/share/man1.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 7 19:17:16 2012 UTC (15 months, 1 week ago) by joerg
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Fix C&P error with $NetBSD$

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 7 19:13:32 2012 UTC (15 months, 1 week ago) by joerg
Branch: MAIN

Import the new apropos/whatis.

This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.

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 <webmaster@jp.NetBSD.org>