logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

locale.patch (526B)


  1. SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
  2. SPDX-License-Identifier: GPL-2.0-or-later
  3. mes libc + setting locale = not worky.
  4. --- bash-2.05b/locale.c 2021-01-15 09:38:55.729307629 +1100
  5. +++ bash-2.05b/locale.c 2021-01-15 11:19:01.929391346 +1100
  6. @@ -190,7 +190,7 @@
  7. set_lang (var, value)
  8. char *var, *value;
  9. {
  10. - return ((lc_all == 0 || *lc_all == 0) ? setlocale (LC_ALL, value?value:"") != NULL : 0);
  11. + return 0;
  12. }
  13. /* Get the value of one of the locale variables (LC_MESSAGES, LC_CTYPE) */