summaryrefslogtreecommitdiff
path: root/dpkg-deb/main.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-11-22 05:25:19 +0100
committerGuillem Jover <guillem@debian.org>2013-11-23 06:43:39 +0100
commit734702ce73524ef1ae84d2c1bf89f8b5db6b1b96 (patch)
tree5a525115cd7fcafc7ec8afd044fa1646afc8a499 /dpkg-deb/main.c
parent4b924a7b47b6773f2ece6aef6d01450a86a15274 (diff)
downloaddpkg-734702ce73524ef1ae84d2c1bf89f8b5db6b1b96.tar.gz
dpkg-deb: Do not set LC_NUMERIC to POSIX
This is unneeded since commit c13a013fd8778f9f558bedfb532c011dcb304394 where float handling was replaced by struct deb_version. But in any case the call had been ineffective for a very long time (since commit 3dc5dd229b5044494db300e6fef7fd47363ce0b6, May 2002), because setting LC_ALL got moved from before to after setting LC_NUMERIC.
Diffstat (limited to 'dpkg-deb/main.c')
-rw-r--r--dpkg-deb/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dpkg-deb/main.c b/dpkg-deb/main.c
index 310bd417d..86909d798 100644
--- a/dpkg-deb/main.c
+++ b/dpkg-deb/main.c
@@ -246,7 +246,6 @@ int main(int argc, const char *const *argv) {
struct dpkg_error err;
int ret;
- setlocale(LC_NUMERIC, "POSIX");
dpkg_locales_init(PACKAGE);
dpkg_program_init(BACKEND);
dpkg_options_parse(&argv, cmdinfos, printforhelp);