]> gcc.gnu.org Git - gcc.git/commit
libphobos: Backport library and bindings fixes from mainline
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 13 Dec 2022 21:34:57 +0000 (22:34 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Tue, 13 Dec 2022 21:34:57 +0000 (22:34 +0100)
commitf141f0f374465759a78e58bf4fd76bc21330eac9
tree0f1dfc1ee6401aa97d91953aacec1a2bb1db348e
parent0e939c60bc55491af4fcda1fb8175ca6138c4089
libphobos: Backport library and bindings fixes from mainline

D Runtime changes:

- Fix MIPS64 bindings for CRuntime_UClibc.

Phobos changes:

- Fix std.path.expandTilde erroneously raising onOutOfMemory
  after failed call to getpwnam_r().
- Fix std.random unittest failures on ILP32 targets.
- Use GENERIC_IO on CRuntime_UClibc port of std.stdio.

libphobos/ChangeLog:

* libdruntime/core/stdc/fenv.d: Compile in MIPS uClibc bindings on
MIPS_Any targets.
* libdruntime/core/stdc/math.d: Likewise.
* libdruntime/core/sys/posix/dlfcn.d: Likewise.
* libdruntime/core/sys/posix/setjmp.d: Add MIPS64 definitions for
CRuntime_UClibc.
* libdruntime/core/sys/posix/sys/types.d: Likewise.
* src/std/path.d (expandTilde): Handle more errno codes that could be
left set by getpwnam_r.
* src/std/random.d: Use D_LP64 in unittests.
* src/std/stdio.d: Set CRuntime_UClibc as GENERIC_IO target.
libphobos/libdruntime/core/stdc/fenv.d
libphobos/libdruntime/core/stdc/math.d
libphobos/libdruntime/core/sys/posix/dlfcn.d
libphobos/libdruntime/core/sys/posix/setjmp.d
libphobos/libdruntime/core/sys/posix/sys/types.d
libphobos/src/std/path.d
libphobos/src/std/random.d
libphobos/src/std/stdio.d
This page took 0.06994 seconds and 6 git commands to generate.