History log of /netbsd-src/libexec/getNAME/getNAME.c (Results 1 – 25 of 27)
Revision Date Author Comments
# 9eba1e42 29-Aug-2011 joerg <joerg@NetBSD.org>

Use __dead


# 0c4ddb15 20-Jul-2008 lukem <lukem@NetBSD.org>

Remove the \n and tabs from the __COPYRIGHT() strings.


# 51630586 12-Sep-2006 hubertf <hubertf@NetBSD.org>

Handle .br - this makes processing of the netbsd-4
src/dist/bzip2/bzip2.1 file work:

Before:
% getNAME /usr/cvs/src-4/dist/bzip2/bzip2.1
bzip2, bunzip2 (1) - a block-sorting file compressor, v1.0.

Handle .br - this makes processing of the netbsd-4
src/dist/bzip2/bzip2.1 file work:

Before:
% getNAME /usr/cvs/src-4/dist/bzip2/bzip2.1
bzip2, bunzip2 (1) - a block-sorting file compressor, v1.0.2 .br bzcat (1) - decompresses files to stdout .br bzip2recover (1) - recovers data from damaged bzip2 files

After:
% getNAME /usr/cvs/src-4/dist/bzip2/bzip2.1
bzip2, bunzip2 (1) - a block-sorting file compressor, v1.0.2
bzcat (1) - decompresses files to stdout
bzip2recover (1) - recovers data from damaged bzip2 files

Verified with code from src/share/man/man0 that nothing else was
broken by this change.

show more ...


# ba3c0c1b 20-Mar-2004 christos <christos@NetBSD.org>

Oops, put back my copyright.


# 1074321a 20-Mar-2004 christos <christos@NetBSD.org>

- remove my license
- un __P
- de-lint


# 143464d1 19-Sep-2003 itojun <itojun@NetBSD.org>

realloc mistake


# 8e6ab883 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.


# f71c29c5 31-Jan-2002 christos <christos@NetBSD.org>

More sanity checks to avoid looking at unitialized memory.


# 65a10264 19-Feb-2001 cgd <cgd@NetBSD.org>

convert to use getprogname()


# f5800029 04-Feb-2001 christos <christos@NetBSD.org>

fix nested extern


# 85cbf55d 09-Nov-1999 drochner <drochner@NetBSD.org>

Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.


# e165b790 08-Feb-1999 augustss <augustss@NetBSD.org>

Get rid of the annoying warning about NAMN not being a proper first .SH.
Do it by adding a table of allowed first SH tags.


# 030e6d4f 10-Oct-1998 hubertf <hubertf@NetBSD.org>

Omit "(section)" if either -i or -t are given, print "\n" and insert a
"-" at the right place when -i is given.


# f7ab9656 21-May-1998 christos <christos@NetBSD.org>

From chopps: be more picky about handling incorrectly formatted man pages.
Look for .Sh NAME; this breaks internationalized man pages. Someone could
put NLS support for it.


# c90e2a4b 10-Apr-1998 fair <fair@NetBSD.org>

getNAME now handles [nt]roff comments (.\") correctly.


# 2ccff623 30-Mar-1998 mrg <mrg@NetBSD.org>

break if ".PP" also


# 3ed4e7c6 03-Feb-1998 perry <perry@NetBSD.org>

add <unistd.h> to fix compiler warning


# 04691c5e 22-Dec-1997 christos <christos@NetBSD.org>

Overhaul:
- Use fgetln instead of fgets and keep track of line limits.
- Use dynamically allocated buffers instead of fixed length ones.
- Use err/warn
- Don't re-scan strings needlessly.
- Hand

Overhaul:
- Use fgetln instead of fgets and keep track of line limits.
- Use dynamically allocated buffers instead of fixed length ones.
- Use err/warn
- Don't re-scan strings needlessly.
- Handle extensions properly for page names that contain more than
one period printing:
resolv.conf (5) - resolver configuration file
instead of:
resolv.conf (conf.5) - resolver configuration file

This fixes PR/4738: "Coredump in getNAME" as a side effect.

This program is a hack; it depends on the ``standard format'' of a man page
and can get easily confused. At least now it will not core-dump...

show more ...


# b0b8aac6 02-Nov-1997 lukem <lukem@NetBSD.org>

* use (``foo'') instead of (<em>foo</em>)
* order SEE ALSO on man section then alphabetical
* add -w to usage string
* deprecate register
* minor code move in newman section, to follow style of oldma

* use (``foo'') instead of (<em>foo</em>)
* order SEE ALSO on man section then alphabetical
* add -w to usage string
* deprecate register
* minor code move in newman section, to follow style of oldman section

show more ...


# ef53ad13 01-Nov-1997 mrg <mrg@NetBSD.org>

add a manual for getNAME. also, change the `default' output to be in
a form much more useful for an apropos(1) database. this will be used
by makewhatis(1) to generate the whatis.db file's now...


# f4c54f25 20-Oct-1997 enami <enami@NetBSD.org>

No need to declare optind.


# 782a2419 08-Oct-1997 enami <enami@NetBSD.org>

Put a whitespace after the keyword `switch'.


# 42eb13e4 08-Oct-1997 enami <enami@NetBSD.org>

Compare a return value of getopt() against -1 instead of EOF.


# 16e14cfd 07-Oct-1997 mrg <mrg@NetBSD.org>

WARNS?=1. RCS ids


# 83c7e415 29-Apr-1997 tls <tls@NetBSD.org>

Sync to 4.4BSD-Lite2


12