summaryrefslogtreecommitdiff
path: root/src/devices/grodvi
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-04-03 08:48:23 +0000
committerwlemb <wlemb>2003-04-03 08:48:23 +0000
commit52e2bd9de9971843c98ee4b029c8c8184fa3e25d (patch)
tree1651e8bb522becaec1cf2bc0b2e3aa04cc95371b /src/devices/grodvi
parentcc324ae5f0e7f6739f67095e15c7e4099541c186 (diff)
downloadgroff-52e2bd9de9971843c98ee4b029c8c8184fa3e25d.tar.gz
Make groff independent from locale's numeric settings.
* configure.ac: Check for `setlocale'. * configure, src/include/config.hin: Regenerated. * src/include/lib.h: Handle HAVE_SETLOCALE. * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc (main), src/preproc/pic/main.cc (main): Call `setlocale'. * doc/groff.texinfo (Man font macros): Mention that there is no space between arguments of .BI and friends. * man/roff.man: Small fixes.
Diffstat (limited to 'src/devices/grodvi')
-rw-r--r--src/devices/grodvi/dvi.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/grodvi/dvi.cc b/src/devices/grodvi/dvi.cc
index 408c3e0d..df169390 100644
--- a/src/devices/grodvi/dvi.cc
+++ b/src/devices/grodvi/dvi.cc
@@ -905,6 +905,7 @@ static void usage(FILE *stream);
int main(int argc, char **argv)
{
+ setlocale(LC_NUMERIC, "C");
program_name = argv[0];
static char stderr_buf[BUFSIZ];
setbuf(stderr, stderr_buf);