Re: [libvirt] [PATCH 2/3] virtestmock: Mock stat() properly

2016-05-20 Thread Peter Krempa
On Wed, May 18, 2016 at 15:39:11 +0200, Michal Privoznik wrote: > There is a lot to explain, but I try to make it as short as > possible. I'd start by pasting some parts of sys/stat.h: > > extern int stat (const char *__restrict __file, >struct stat *__restrict __buf) __THROW

[libvirt] [PATCH 2/3] virtestmock: Mock stat() properly

2016-05-18 Thread Michal Privoznik
There is a lot to explain, but I try to make it as short as possible. I'd start by pasting some parts of sys/stat.h: extern int stat (const char *__restrict __file, struct stat *__restrict __buf) __THROW __nonnull ((1, 2)); extern int __REDIRECT_NTH (stat, (const char