#
8fd51c08 |
|
24-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Use ErrnoMaintainer in setlocale() to protect errno. * this avoids spurious errno changes leaking into application code, which could become confused - i.e. 'rm' on a gcc4 build would always prompt for confirmation I spend a couple of hours hunting down the behavioural difference between gcc2- and gcc4-builds and it turns out that the reason for that is that gcc4's libstdc++-code initializes its own locale data via the POSIX calls, which trigger (correct) errno value changes, which were the ones leaking into application code.
|
#
25dc253d |
|
22-Nov-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Merged weak-symbols branch. * Fixed trivial merge conflict in src/system/libroot/posix/locale/nl_langinfo.cpp * Fixed gcc 2 compilation of src/system/glue/init_term_dyn.c. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39571 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bc981208 |
|
25-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* replace use of strcmp with strcasecmp, as locale names are supposed to be case insensitive git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37735 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a3f66598 |
|
23-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reintegrated posix-locale git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37725 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8fd51c08197d5acd9ff3c63aaed4772512bb8310 |
|
24-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Use ErrnoMaintainer in setlocale() to protect errno. * this avoids spurious errno changes leaking into application code, which could become confused - i.e. 'rm' on a gcc4 build would always prompt for confirmation I spend a couple of hours hunting down the behavioural difference between gcc2- and gcc4-builds and it turns out that the reason for that is that gcc4's libstdc++-code initializes its own locale data via the POSIX calls, which trigger (correct) errno value changes, which were the ones leaking into application code.
|
#
25dc253d6ab28ce204fa4de2d3e7a27d167fc817 |
|
22-Nov-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Merged weak-symbols branch. * Fixed trivial merge conflict in src/system/libroot/posix/locale/nl_langinfo.cpp * Fixed gcc 2 compilation of src/system/glue/init_term_dyn.c. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39571 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bc981208fa1d2253fe7a2ac71792cd3aa60bd958 |
|
25-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* replace use of strcmp with strcasecmp, as locale names are supposed to be case insensitive git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37735 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a3f665982e2e078ba42e7bf941bd5f3dd8989c55 |
|
23-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reintegrated posix-locale git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37725 a95241bf-73f2-0310-859d-f6bbb57e9c96
|