Re: [PATCH v8 04/11] 9p: darwin: Handle struct dirent differences

2022-02-20 Thread Will Cohen
Apologies — I tested on Mac but should have done Linux too. Will revise. On Sun, Feb 20, 2022 at 4:28 PM Christian Schoenebeck < qemu_...@crudebyte.com> wrote: > On Sonntag, 20. Februar 2022 17:50:49 CET Will Cohen wrote: > > From: Keno Fischer > > > > On darwin d_seekoff exists, but is optional

Re: [PATCH v8 04/11] 9p: darwin: Handle struct dirent differences

2022-02-20 Thread Christian Schoenebeck
On Sonntag, 20. Februar 2022 17:50:49 CET Will Cohen wrote: > From: Keno Fischer > > On darwin d_seekoff exists, but is optional and does not seem to > be commonly used by file systems. Use `telldir` instead to obtain > the seek offset and inject it into d_seekoff, and create a > qemu_dirent_off