From c3a02f54074c59ec043bc9c6fd31785d61e6d426 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 19 Dec 2007 21:19:01 +0000 Subject: [PATCH] Ensure that nroff doesn't put anything but ASCII characters into the --manual text. --- CHANGES | 3 +++ src/Makefile.am | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 340a4b1f5..5ec5dd0ec 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,9 @@ Changelog +Daniel Fandrich (19 Dec 2007) +- Ensure that nroff doesn't put anything but ASCII characters into the + --manual text. Yang Tse (18 Dec 2007) - MSVC 9.0 (VS2008) does not support Windows build targets prior to WinXP, diff --git a/src/Makefile.am b/src/Makefile.am index 13fad213e..cf806abe1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -41,7 +41,9 @@ curl_LDADD = ../lib/libcurl.la @CURL_LIBS@ curl_DEPENDENCIES = ../lib/libcurl.la BUILT_SOURCES = hugehelp.c CLEANFILES = hugehelp.c -NROFF=@NROFF@ @MANOPT@ # figured out by the configure script +# Use the C locale to ensure that only ASCII characters appear in the +# embedded text. +NROFF=env LC_ALL=C @NROFF@ @MANOPT@ # figured out by the configure script EXTRA_DIST = mkhelp.pl makefile.dj Makefile.vc6 Makefile.b32 Makefile.m32 \ Makefile.riscos config.h.in macos/curl.mcp.xml.sit.hqx \