diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-07 19:10:09 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-07 19:10:09 +0000 |
commit | 2766352e79d087ab9cebab45f5737ede5524331b (patch) | |
tree | 834bb2c0d38345d97217f52cc54b48f7831c5c3c /mdoc.3 | |
parent | 6466111df5df8fb77f988c2df0c4fdff141c2cf2 (diff) | |
download | mandoc-2766352e79d087ab9cebab45f5737ede5524331b.tar.gz mandoc-2766352e79d087ab9cebab45f5737ede5524331b.tar.zst mandoc-2766352e79d087ab9cebab45f5737ede5524331b.zip |
Fix white-space issues found by mandoc's better white-space finder.
Fixed bogus `\\' escapes in some manuals.
Diffstat (limited to 'mdoc.3')
-rw-r--r-- | mdoc.3 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mdoc.3,v 1.35 2009/10/03 16:36:06 kristaps Exp $ +.\" $Id: mdoc.3,v 1.36 2010/01/07 19:10:09 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 3 2009 $ +.Dd $Mdocdate: January 7 2010 $ .Dt MDOC 3 .Os .\" SECTION @@ -274,7 +274,7 @@ line = 1; mdoc = mdoc_alloc(NULL, 0, NULL); while ((buf = fgetln(fp, &len))) { - buf[len - 1] = '\\0'; + buf[len - 1] = '\e0'; if ( ! mdoc_parseln(mdoc, line, buf)) errx(1, "mdoc_parseln"); line++; |