History log of /src/libexec/getNAME/getNAME.c |
Revision | | Date | Author | Comments |
1.27 |
| 29-Aug-2011 |
joerg | Use __dead
|
1.26 |
| 20-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings.
|
1.25 |
| 12-Sep-2006 |
hubertf | branches: 1.25.18; 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.
|
1.24 |
| 20-Mar-2004 |
christos | Oops, put back my copyright.
|
1.23 |
| 20-Mar-2004 |
christos | - remove my license - un __P - de-lint
|
1.22 |
| 19-Sep-2003 |
itojun | realloc mistake
|
1.21 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22284, verified by myself.
|
1.20 |
| 31-Jan-2002 |
christos | More sanity checks to avoid looking at unitialized memory.
|
1.19 |
| 19-Feb-2001 |
cgd | convert to use getprogname()
|
1.18 |
| 04-Feb-2001 |
christos | fix nested extern
|
1.17 |
| 09-Nov-1999 |
drochner | 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.
|
1.16 |
| 08-Feb-1999 |
augustss | branches: 1.16.6; 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.
|
1.15 |
| 10-Oct-1998 |
hubertf | Omit "(section)" if either -i or -t are given, print "\n" and insert a "-" at the right place when -i is given.
|
1.14 |
| 21-May-1998 |
christos | 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.
|
1.13 |
| 10-Apr-1998 |
fair | getNAME now handles [nt]roff comments (.\") correctly.
|
1.12 |
| 30-Mar-1998 |
mrg | break if ".PP" also
|
1.11 |
| 03-Feb-1998 |
perry | add <unistd.h> to fix compiler warning
|
1.10 |
| 22-Dec-1997 |
christos | 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...
|
1.9 |
| 02-Nov-1997 |
lukem | * 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
|
1.8 |
| 01-Nov-1997 |
mrg | 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...
|
1.7 |
| 20-Oct-1997 |
enami | branches: 1.7.2; No need to declare optind.
|
1.6 |
| 08-Oct-1997 |
enami | Put a whitespace after the keyword `switch'.
|
1.5 |
| 08-Oct-1997 |
enami | Compare a return value of getopt() against -1 instead of EOF.
|
1.4 |
| 07-Oct-1997 |
mrg | WARNS?=1. RCS ids
|
1.3 |
| 29-Apr-1997 |
tls | Sync to 4.4BSD-Lite2
|
1.2 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 29-Apr-1997 |
tls | Import from 4.4BSD-Lite
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.7.2.1 |
| 10-Nov-1997 |
thorpej | Sync w/ trunk.
|
1.16.6.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.25.18.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|