Make the win32 implementation of getrusage() return EINVAL if being

Magnus Hagander <magnus@hagander.net>

Commit: 14e6858ff41eea906b8a078c858025bb9e8fa9df
Author: Magnus Hagander <magnus@hagander.net>
Date: 2008-05-14T07:28:13Z
Releases: 8.4.0
Make the win32 implementation of getrusage() return EINVAL if being
asked for anything other than RUSAGE_SELF, since it's not supported.

This is never called anywhere in the code today, but might be in
the future.

Not backpatching, since it's not called anywhere today.

Files

PathChange+/−
src/port/getrusage.c modified +8 −1