Преглед изворни кода

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.
Guillem Jover пре 12 година
родитељ
комит
734702ce73
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      dpkg-deb/main.c

+ 0 - 1
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);