>>>> + errno != EOPNOTSUPP)) >>>> + return fd; >>>> + errno = 0; >>> >>> Why are you resetting errno? >> >> It's to ignore/reset the error code from open, but it may not be needed >> because of the next call to malloc? > > But then you'd have to reset errno after every syscall. :-)
OK, I will remove it then :) Mickaël
signature.asc
Description: OpenPGP digital signature