summaryrefslogtreecommitdiff
path: root/usr.bin/man/man.c
AgeCommit message (Expand)Author
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2013-07-01Make some variables const that are filled from getenv(3), from argv,Ingo Schwarze
2013-07-01Kill off some code that undocumently added an "-s" switch if user hadJeremie Courreges-Anglas
2013-06-26Avoid mangling argv and environment variables.Jeremie Courreges-Anglas
2012-02-05Do not insert an empty ENTRY into the manpath list;Ingo Schwarze
2012-01-05When iterating a TAILQ list replacing elements,Ingo Schwarze
2011-07-07For man -a and -w, drop companion pages that are also in the path,Ingo Schwarze
2011-07-05When both a formatted and an unformatted version of the same manual pageIngo Schwarze
2011-05-25add one more signal block for handling '_intmp' (the list of files scheduledTheo de Raadt
2010-10-22whining verboten; ok deraadtMike Belopuhov
2010-03-19Fix three bugs in man(1):Ingo Schwarze
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-12-30make -S case insensitive; this avoids any confusion over the factJason McIntyre
2008-01-04-k and -f accept multiple arguments; from Pierre RiteauJason McIntyre
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
2007-06-04make jmc happy by somewhat smarter synopsis scanning code for -h; okOtto Moerbeek
2007-01-09fix usageTheo de Raadt
2006-12-14Coverity CID 2996: Don't return without closing fp.Jasper Lievisse Adriaanse
2005-11-12use asprintf instead; dhill@mindcry.orgTheo de Raadt
2005-10-31Rewrite -m processing to not use queue internals and make it moreOtto Moerbeek
2005-10-17Use queue macros instead of directly accessing fields. ok pat@ "put itOtto Moerbeek
2004-02-23- mark up punctuationJason McIntyre
2003-12-16Support MANPAGER environment variable plus some KNF I had in my tree.Todd C. Miller
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2002-12-08GNU semantics say that if optstring begins with '-' thenTodd C. Miller
2002-11-23let comment match reality. ok millert@Marc Espie
2002-09-17ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-17make signal handler safe, by blocking signals around the things that it cares...Theo de Raadt
2001-08-18whack strcpyTheo de Raadt
2001-04-10space police + pet peevesTodd C. Miller
2001-01-31KNFTheo de Raadt
1999-10-18Add a help(1) man page -- help for new users and administrators.Aaron Campbell
1999-07-28clarifyTheo de Raadt
1999-06-10Handle PAGER in a manner consistent with the Single Unix Specification:Paul Janzen
1998-11-16off by one string termination; wsanchezTheo de Raadt
1998-09-14/usr/bin/help == man man"Theo de Raadt
1998-07-20finish off fixing PR 536 completelyTheo de Raadt
1998-07-01Fix confusing error messageMarc Espie
1998-04-25fix usageTodd C. Miller
1998-03-09Add -s section for svr4 compat and -S subsection ala:Todd C. Miller
1997-09-10path buf too small; tron@lyssa.owl.deTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-09-16_PATH_TMP -> _PATH_TMPFILE; avoid /tmp//fooXXXX where possible tooTheo de Raadt
1996-07-18bugfix, paths added with -w should now be searched in the same ordermichaels
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt