Explorar el Código

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 hace 12 años
padre
commit
734702ce73
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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;
   struct dpkg_error err;
   int ret;
   int ret;
 
 
-  setlocale(LC_NUMERIC, "POSIX");
   dpkg_locales_init(PACKAGE);
   dpkg_locales_init(PACKAGE);
   dpkg_program_init(BACKEND);
   dpkg_program_init(BACKEND);
   dpkg_options_parse(&argv, cmdinfos, printforhelp);
   dpkg_options_parse(&argv, cmdinfos, printforhelp);