Closed cgwalters closed 7 months ago
https://github.com/ostreedev/ostree-rs-ext/pull/586/commits/b104a467e9ed06663194c3b60334a5246eb988fb broke the rpm-ostree test suite, which encapsulates to a relative file path and so us doing chdir broke it.
chdir
Switch to passing down the dirfd and using /proc/self/fd.
/proc/self/fd
(Mutable global state in chdir is bad)
https://github.com/ostreedev/ostree-rs-ext/pull/586/commits/b104a467e9ed06663194c3b60334a5246eb988fb broke the rpm-ostree test suite, which encapsulates to a relative file path and so us doing
chdir
broke it.Switch to passing down the dirfd and using
/proc/self/fd
.(Mutable global state in
chdir
is bad)