From 54039e0bd543d8d709c1aebc5dcb41d259715dc8 Mon Sep 17 00:00:00 2001 From: "David A. Wheeler" Date: Wed, 4 Apr 2018 11:31:07 -0400 Subject: [PATCH] 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 --- flawfinder.1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/flawfinder.1 b/flawfinder.1 index 75541cb..024c9d6 100644 --- a/flawfinder.1 +++ b/flawfinder.1 @@ -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 .\" 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) .\" -.TH FLAWFINDER 1 "26 Aug 2017" "Flawfinder" "Flawfinder" +.TH FLAWFINDER 1 "4 Apr 2018" "Flawfinder" "Flawfinder" .SH NAME flawfinder \- lexically find potential security flaws ("hits") in source code .SH SYNOPSIS @@ -267,7 +267,7 @@ variable names look like dangerous function names, use the \-F option to remove reports about them. If you don't understand the error message, please see documents such as the .UR "https://www.dwheeler.com/secure-programs" -.I "Writing Secure Programs HOWTO" +.I "Secure Programming HOWTO" .UE at 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, but they are consistent within a single file. If the files have encoding errors, you'll have to fix them. -I strongly recommend using the UTF-8 encoding for any source code; -if you do that, many problems disappear. +I strongly recommend using the UTF-8 encoding for all source code +and in the system itself; if you do that, many problems disappear. The second option is to tell flawfinder what the encoding of the files is. E.G., you can set the LANG environment variable. You can set PYTHONIOENCODING to 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. E.g., "python2 flawfinder ...".