CVS commit: src/usr.bin/man

2009-10-05 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Tue Oct 6 06:43:15 UTC 2009 Modified Files: src/usr.bin/man: man.c Log Message: - use EXIT_FAILURE/EXIT_SUCCESS - whitespace nits - ansify cleanup()/usage() - remove pointless parenthesis on return To generate a diff of this co

CVS commit: src/usr.bin/man

2009-10-07 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Wed Oct 7 08:30:31 UTC 2009 Modified Files: src/usr.bin/man: man.1 man.c Log Message: Mimic OSX behaviour: On OS X it is possible to specify the manpage filename with a full or relative path like this: man ./foo.5 or ma

CVS commit: src/usr.bin/man

2010-07-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jul 7 21:24:34 UTC 2010 Modified Files: src/usr.bin/man: man.c Log Message: get the value of the entry for the class not the key. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/usr.bin/man/man.c Please

CVS commit: src/usr.bin/man

2010-05-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun May 23 22:04:36 UTC 2010 Modified Files: src/usr.bin/man: man.c Log Message: - centralize the snprintf code. - use err where appropriate. - add machclass which should be x86 when i386 and amd64 and can be specified in man.

CVS commit: src/usr.bin/man

2011-10-07 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Fri Oct 7 10:52:31 UTC 2011 Modified Files: src/usr.bin/man: man.1 Log Message: Refer to X11R7. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/man/man.1 Please note that diffs are not public domain;

CVS commit: src/usr.bin/man

2012-04-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 29 03:46:43 UTC 2012 Modified Files: src/usr.bin/man: man.conf.5 Log Message: document _machine To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/man/man.conf.5 Please note that diffs are not p

CVS commit: src/usr.bin/man

2011-06-14 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Jun 14 18:53:48 UTC 2011 Modified Files: src/usr.bin/man: man.1 man.c Log Message: Add support for man -p to print the search path for manual pages (not including cat page directories). >From Abhinav Upadhyay as part of Google

CVS commit: src/usr.bin/man

2011-06-14 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Jun 14 20:08:46 UTC 2011 Modified Files: src/usr.bin/man: man.1 man.c Log Message: Fix usage in man page and sync usage in executable with it. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.bin/man/man.1

CVS commit: src/usr.bin/man

2011-12-27 Thread Alan Barrett
Module Name:src Committed By: apb Date: Tue Dec 27 13:15:55 UTC 2011 Modified Files: src/usr.bin/man: man.conf.5 Log Message: Document the reality that the _build and _crunch commands should each contain exactly one "%s". The previous description allowed any number of "%s

CVS commit: src/usr.bin/man

2012-01-03 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Jan 3 17:49:57 UTC 2012 Modified Files: src/usr.bin/man: man.c Log Message: If the default path doesn't result in a match, bail out early instead of running into a segmentation fault. Based on patch by Abhinav Upadhyay. To g

CVS commit: src/usr.bin/man

2015-04-07 Thread Iain Hibbert
Module Name:src Committed By: plunky Date: Tue Apr 7 10:17:21 UTC 2015 Modified Files: src/usr.bin/man: man.conf.5 Log Message: change _whatdb => _mandb as that is the correct keyword here, and move it to the correct position in the list. To generate a diff of this comm

CVS commit: src/usr.bin/man

2016-05-21 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sat May 21 17:21:40 UTC 2016 Modified Files: src/usr.bin/man: man.c pathnames.h Log Message: Remove unused include and unused constant. Ok from christos@. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/usr.bi

CVS commit: src/usr.bin/man

2016-05-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat May 21 20:54:34 UTC 2016 Modified Files: src/usr.bin/man: pathnames.h Log Message: put back _PATH_WHATIS, it is used. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.bin/man/pathnames.h Please note tha

CVS commit: src/usr.bin/man

2016-06-16 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Jun 16 15:10:58 UTC 2016 Modified Files: src/usr.bin/man: man.1 man.c Log Message: Document -f option for man(1). Also remove unsupported options for `man -k` from the synopsis and usage. To generate a diff of this commit:

CVS commit: src/usr.bin/man

2016-06-16 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Jun 16 15:11:43 UTC 2016 Modified Files: src/usr.bin/man: man.conf.5 Log Message: Replace makewhatis(8) with makemandb(8) in SEE ALSO. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/man/man.conf.5

CVS commit: src/usr.bin/man

2015-03-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 3 17:59:32 UTC 2015 Modified Files: src/usr.bin/man: man.conf.5 Log Message: there is no more makewhatis; it has been replaced by makemandb To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/man

CVS commit: src/usr.bin/man

2014-02-16 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Feb 17 02:53:48 UTC 2014 Modified Files: src/usr.bin/man: manconf.c Log Message: Check _build and _crunch commands with fmtcheck(3), warn about and ignore bad ones. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 sr

CVS commit: src/usr.bin/man

2014-02-16 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Feb 17 03:10:12 UTC 2014 Modified Files: src/usr.bin/man: Makefile man.c Log Message: config() in manconf.c now verifies _build (and _crunch) command templates with fmtcheck(3) so annotate the printf that uses these commands as s

CVS commit: src/usr.bin/man

2014-08-14 Thread Alan Barrett
Module Name:src Committed By: apb Date: Thu Aug 14 15:31:12 UTC 2014 Modified Files: src/usr.bin/man: man.c Log Message: For an argument to be interpreted as a local file name, bypassing the search rules in man.conf or MANPATH, it must begin with "/", "./", or "../". Simp

CVS commit: src/usr.bin/man

2014-08-14 Thread Alan Barrett
Module Name:src Committed By: apb Date: Thu Aug 14 15:44:47 UTC 2014 Modified Files: src/usr.bin/man: man.1 Log Message: More detail about treating a local file as a man page, and about how to request machine-specific man pages. re To generate a diff of this commit: cvs

CVS commit: src/usr.bin/man

2013-06-27 Thread Julian Fagir
Module Name:src Committed By: jdf Date: Thu Jun 27 21:55:10 UTC 2013 Modified Files: src/usr.bin/man: man.conf.5 Log Message: * adjust indentation of list block * fix capitalization * remove superfluous word ('The') Patch supplied by Bug Hunting. To generate a diff o

CVS commit: src/usr.bin/man

2013-06-28 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Jun 28 10:13:18 UTC 2013 Modified Files: src/usr.bin/man: man.conf.5 Log Message: Prefer Aq to \*[Lt] etc. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/man/man.conf.5 Please note that diffs are not

CVS commit: src/usr.bin/man

2013-07-17 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Jul 18 03:38:25 UTC 2013 Modified Files: src/usr.bin/man: man.1 Log Message: Remove unnecessary line wrap. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/man/man.1 Please note that diffs are not publ

CVS commit: src/usr.bin/man

2013-07-17 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Jul 18 03:40:31 UTC 2013 Modified Files: src/usr.bin/man: man.1 Log Message: whatis.db is no more, so don't mention its location in FILES. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.bin/man/man.1 Ple

CVS commit: src/usr.bin/man

2013-07-17 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Jul 18 03:48:22 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: Move manstate::pagerlen so that its "length of the above" comment makes sense. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/usr.b

CVS commit: src/usr.bin/man

2013-07-17 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Jul 18 04:02:31 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: Constify jump() arguments appropriately. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/usr.bin/man/man.c Please note that diffs a

CVS commit: src/usr.bin/man

2013-07-17 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Jul 18 04:05:32 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: Revert previous; other errors from WARNS=3 obscured the error in jump(). To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/usr.bin/man

CVS commit: src/usr.bin/man

2013-07-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jul 18 15:39:08 UTC 2013 Modified Files: src/usr.bin/man: Makefile man.c manconf.c Log Message: WARNS=6 - fix cast qual issues - don't use snprintf on a user-provided buffer To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/man

2013-07-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jul 18 16:01:25 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: Set the string to NUL instread of providing an new empty string (from uwe) To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/usr.

CVS commit: src/usr.bin/man

2013-07-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jul 18 16:28:52 UTC 2013 Modified Files: src/usr.bin/man: Makefile man.c Log Message: use -Wno-format and revert "fixstring" To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.bin/man/Makefile cvs rdiff

CVS commit: src/usr.bin/man

2013-07-18 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Jul 18 16:33:31 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: Don't access memory outside the array if tmpdirlen == 0. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/usr.bin/man/man.c Please n

CVS commit: src/usr.bin/man

2013-07-18 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Jul 19 04:17:02 UTC 2013 Modified Files: src/usr.bin/man: Makefile Log Message: Use -Wno-format-nonliteral instead of blanket -Wno-format. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.bin/man/Makefile

CVS commit: src/usr.bin/man

2013-07-18 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Jul 19 04:18:10 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: Fix manual_find_buildkeyword() to not use non-literal printf format. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/usr.bin/man/man

CVS commit: src/usr.bin/man

2013-07-18 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Jul 19 04:55:06 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: manual_find_buildkeyword() - now that we control the format string, we may use asterisk precision specification instead of temporary modifying the _buil

CVS commit: src/usr.bin/man

2013-07-18 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Jul 19 04:59:46 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: Spell "keywords" without space. Fix couple of typos. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/usr.bin/man/man.c Please note

CVS commit: src/usr.bin/man

2013-07-18 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Jul 19 05:05:59 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: Constify some more. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/usr.bin/man/man.c Please note that diffs are not public domain;

CVS commit: src/usr.bin/man

2013-07-30 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Jul 30 15:10:04 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: Mark the dead. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/usr.bin/man/man.c Please note that diffs are not public domain; th

CVS commit: src/usr.bin/man

2013-10-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 6 16:29:26 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: Be more permissive in interpreting man pages as filenames, from Franco Fichter via dfly. fixes: $ man usr.bin/man/man.1 To generate a dif

CVS commit: src/usr.bin/man

2013-10-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 6 17:14:49 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: add more compression suffixes and local suffixes. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/usr.bin/man/man.c Please not

CVS commit: src/usr.bin/man

2013-10-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 6 16:43:41 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: Recognize .gz and .bz2 suffixes so $ man ./man.1.gz works. From Franco Fichter via dfly. To generate a diff of this commit: cvs rdiff -u -r1.57 -

CVS commit: src/usr.bin/man

2013-10-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Oct 28 23:46:17 UTC 2013 Modified Files: src/usr.bin/man: man.c Log Message: Instead of guessing the suffix in the code, use the suffix list previously loaded via man.conf(5). While there, zap unused iteration code. (Franco

CVS commit: src/usr.bin/man

2017-04-27 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Apr 27 09:31:51 UTC 2017 Modified Files: src/usr.bin/man: man.c Log Message: Fix comment indentation at couple of places: Use \t instead of space To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/usr.bin/man

CVS commit: src/usr.bin/man

2017-05-02 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Tue May 2 14:19:23 UTC 2017 Modified Files: src/usr.bin/man: man.c Log Message: Teach man -p to respect the MANPATH environment variable and the -M option. Currently, `man -p` generates its output based on the value of the _def

CVS commit: src/usr.bin/man

2018-06-15 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Jun 15 20:16:35 UTC 2018 Modified Files: src/usr.bin/man: man.c Log Message: move 'utsname' to the main() function scope, so that the reference to it outside the block remains valid. should fix an asan reported issue. To gener

CVS commit: src/usr.bin/man

2020-04-06 Thread Maya Rashish
Module Name:src Committed By: maya Date: Mon Apr 6 19:53:22 UTC 2020 Modified Files: src/usr.bin/man: man.c Log Message: Exit successfully after printing the search path, stop further processing. Continuing to process had the unintended effect that `man` failed to find a