locale.library: use system default locale if locale argument is NULL.
commitdbde470651d9709ae3faa1d97cd252a4b41b5e2d
authormazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 17 Sep 2017 23:59:59 +0000 (17 23:59 +0000)
committermazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 17 Sep 2017 23:59:59 +0000 (17 23:59 +0000)
tree2ea9e8dd732cef07fb64bf36801ed717f6f3cdf1
parentafcca06ed3221aa0ea486c7f0db628da68cf3e86
locale.library: use system default locale if locale argument is NULL.
This fixes: https://sourceforge.net/p/aros/bugs/495/

Note that the bug report states that it works like that
under 3.x but the the 4.x SDK states that this feature
was introduced with v51.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@54929 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/libs/locale/catalog_funcs.c
workbench/libs/locale/convtolower.c
workbench/libs/locale/convtoupper.c
workbench/libs/locale/formatdate.c
workbench/libs/locale/formatstring.c
workbench/libs/locale/isxxxx.c
workbench/libs/locale/locale.conf
workbench/libs/locale/parsedate.c
workbench/libs/locale/strconvert.c
workbench/libs/locale/strncmp.c