martinpitt / umockdev

Mock hardware devices for creating unit tests and bug reporting
https://launchpad.net/umockdev
GNU Lesser General Public License v2.1
308 stars 54 forks source link

preload: wrap fstatfs() and statfs() on musl #225

Closed martinpitt closed 7 months ago

martinpitt commented 7 months ago

musl has both of these functions (though not the separate "64" variants that glibc).

Thanks to Alyssa Ross @alyssais for finding this and the initial patch!


This is an alternative to #224 which doesn't rip apart the fstatfs{,64} and statfs{,64} declarations.

Closes #224

martinpitt commented 7 months ago

Ack, thanks @alyssais for reviewing. Landing that then.