commit | db3a9b718113a3403c405cb1fcfc8affe05d1d8f | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Thu Oct 30 14:43:52 2014 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Oct 30 14:43:52 2014 -0700 |
tree | dc1d5486090d3e1a6d2615549e692ee93107b02f | |
parent | 432e9f6ac1fc11db9633a2752f08f52fdd59eac1 [diff] |
vzmigrate: use C locale As reported in bug #3049, printf fails to print floating-point numbers when locale is set to one that uses comma delimiter for floats. Fix this (and possibly other issues with locale) by setting it to C (the code is stolen from autoconf). https://bugzilla.openvz.org/3049 Reported-by: Pavel Odintsov <pavel.odintsov@gmail.com> Signed-off-by: Kir Kolyshkin <kir@openvz.org>