From 38ca9f9d9e14fcf1e4e0b739cab19118d83ee295 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Wed, 13 May 2009 23:57:45 +0000 Subject: Fix SF/2790725 * driver/main.c (main): Set locale to nothing. * hyper/ex2ht.c (main): Likewise. * hyper/htadd.c (main): Likewise. * hyper/hthits.c (main): Likewise. * hyper/hyper.c (main): Likewise. * hyper/spadbuf.c (main): Likewise. * clef/edible.c (main): Likewise. * sman/session.c (main): Likewise. * sman/sman.c (main): Likewise. * sman/spadclient.c (main): Likewise. --- src/hyper/htadd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/hyper/htadd.c') diff --git a/src/hyper/htadd.c b/src/hyper/htadd.c index 62f7cd7c..46a01416 100644 --- a/src/hyper/htadd.c +++ b/src/hyper/htadd.c @@ -1,7 +1,7 @@ /* Copyright (C) 1991-2002, The Numerical Algorithms Group Ltd. All rights reserved. - Copyright (C) 2007-2008, Gabriel Dos Reis. + Copyright (C) 2007-2009, Gabriel Dos Reis. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -43,6 +43,7 @@ #include #include #include +#include #include "cfuns.h" #include "hash.h" @@ -95,6 +96,7 @@ main(int argc, char **argv) char **fnames = filenames; short flag; /* flag for deleting or adding */ + setlocale(LC_ALL, ""); parse_args(argv, db_dir, filenames, &flag); if (!filenames[0]) { -- cgit v1.2.3