diff options
| author | Christian Walther <cwalther@gmx.ch> | 2023-07-31 18:25:26 +0200 |
|---|---|---|
| committer | Christian Walther <cwalther@gmx.ch> | 2023-10-19 16:21:08 +0200 |
| commit | e3ba6f952bda153cfc3389eb48c7645d71b2b094 (patch) | |
| tree | 8dbbc2d610e3d7c2614388813c67420b2ae80698 /py/objbool.c | |
| parent | 86c7b957a85d69ffb19bc6e4db719e902abd3fc1 (diff) | |
extmod/vfs_posix: Fix relative root path.
A VfsPosix created with a relative root path would get confused when
chdir() was called on it and become unable to properly resolve absolute
paths, because changing directories effectively shifted its root. The
simplest fix for that would be to say "don't do that", but since the
unit tests themselves do it, fix it by making a relative path absolute
before storing it.
Signed-off-by: Christian Walther <cwalther@gmx.ch>
Diffstat (limited to 'py/objbool.c')
0 files changed, 0 insertions, 0 deletions
