]> gcc.gnu.org Git - gcc.git/commit
libphobos: Fix std.path.expandTilde raising onOutOfMemory
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 13 Dec 2022 22:54:22 +0000 (23:54 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Tue, 13 Dec 2022 22:54:22 +0000 (23:54 +0100)
commit6ac6008ad52d44b3090967ca2f8d0b4e4d9bf549
tree44d2bcfcc019309a8f9016843f4ad248d9dca3af
parentd6e258859f7346a0d91cfa7fdd32cdc7abc268e7
libphobos: Fix std.path.expandTilde raising onOutOfMemory

Fixes std.path.expandTilde erroneously raising onOutOfMemory after
failed call to `getpwnam_r()'.

libphobos/ChangeLog:

* src/std/path.d (expandTilde): Handle more errno codes that could be
left set by getpwnam_r.
libphobos/src/std/path.d
This page took 0.061405 seconds and 6 git commands to generate.