| Index: runtime/bin/fdutils.h
|
| diff --git a/runtime/bin/fdutils.h b/runtime/bin/fdutils.h
|
| index 25cd4dda7cb3b0e54db3ef5aa2a518199f3b2242..81c45418a152181ee596d1ff0697e7d83a550e0d 100644
|
| --- a/runtime/bin/fdutils.h
|
| +++ b/runtime/bin/fdutils.h
|
| @@ -39,6 +39,9 @@ class FDUtils {
|
| // descriptor must be in blocking mode.
|
| static ssize_t WriteToBlocking(int fd, const void* buffer, size_t count);
|
|
|
| + // Closes fd without modifying errno.
|
| + static void SaveErrorAndClose(intptr_t fd);
|
| +
|
| private:
|
| DISALLOW_ALLOCATION();
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(FDUtils);
|
|
|