Fix flawfinder man page (e.g., fix the title of my book)

This fixes bug #11, see:
https://sourceforge.net/p/flawfinder/bugs/11/

Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
David A. Wheeler 2018-04-04 11:31:07 -04:00
parent d7ce082024
commit 54039e0bd5
1 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
'\" '\"
.\" (C) Copyright 2001-2014 David A. Wheeler (dwheeler@dwheeler.com) .\" (C) Copyright 2001-2018 David A. Wheeler (dwheeler@dwheeler.com)
.\" .\"
.\" This program is free software; you can redistribute it and/or modify .\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by .\" it under the terms of the GNU General Public License as published by
@ -19,7 +19,7 @@
.\" .\"
.\" Man page created 17 May 2001 by David A. Wheeler (dwheeler@dwheeler.com) .\" Man page created 17 May 2001 by David A. Wheeler (dwheeler@dwheeler.com)
.\" .\"
.TH FLAWFINDER 1 "26 Aug 2017" "Flawfinder" "Flawfinder" .TH FLAWFINDER 1 "4 Apr 2018" "Flawfinder" "Flawfinder"
.SH NAME .SH NAME
flawfinder \- lexically find potential security flaws ("hits") in source code flawfinder \- lexically find potential security flaws ("hits") in source code
.SH SYNOPSIS .SH SYNOPSIS
@ -267,7 +267,7 @@ variable names look like dangerous function names, use the \-F option
to remove reports about them. to remove reports about them.
If you don't understand the error message, please see documents such as the If you don't understand the error message, please see documents such as the
.UR "https://www.dwheeler.com/secure-programs" .UR "https://www.dwheeler.com/secure-programs"
.I "Writing Secure Programs HOWTO" .I "Secure Programming HOWTO"
.UE .UE
at at
https://www.dwheeler.com/secure-programs https://www.dwheeler.com/secure-programs
@ -630,15 +630,15 @@ For example, the program "iconv" can be used to convert encodings.
This works well if some files have one encoding, and some have another, This works well if some files have one encoding, and some have another,
but they are consistent within a single file. but they are consistent within a single file.
If the files have encoding errors, you'll have to fix them. If the files have encoding errors, you'll have to fix them.
I strongly recommend using the UTF-8 encoding for any source code; I strongly recommend using the UTF-8 encoding for all source code
if you do that, many problems disappear. and in the system itself; if you do that, many problems disappear.
The second option is to The second option is to
tell flawfinder what the encoding of the files is. tell flawfinder what the encoding of the files is.
E.G., you can set the LANG environment variable. E.G., you can set the LANG environment variable.
You can set PYTHONIOENCODING to You can set PYTHONIOENCODING to
the encoding you want your output to be in, if that's different. the encoding you want your output to be in, if that's different.
This in theory would work well, but I haven't had much success with this. This in theory would work, but I haven't had much success with this.
The third option is to run flawfinder using Python 2 instead of Python 3. The third option is to run flawfinder using Python 2 instead of Python 3.
E.g., "python2 flawfinder ...". E.g., "python2 flawfinder ...".