Closed Bug 864524 Opened 11 years ago Closed 11 years ago

Handle EINTR in ScopedClose::close

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 818106

People

(Reporter: justin.lebar+bug, Unassigned)

Details

Attachments

(1 file)

Self-explanatory patch in a moment.
Attached patch Patch, v1Splinter Review
I haven't tested this on Windows, but I think it's all the same API?
Attachment #740502 - Flags: review?(mh+mozilla)
Comment on attachment 740502 [details] [diff] [review]
Patch, v1

Review of attachment 740502 [details] [diff] [review]:
-----------------------------------------------------------------

::: xpcom/glue/FileUtils.h
@@ +12,5 @@
>  # include <unistd.h>
>  #elif defined(XP_WIN)
>  # include <io.h>
>  #endif
> +# include <errno.h>

Indentation is confusing, since the include is outside the #if.
Attachment #740502 - Flags: review?(mh+mozilla) → review+
Oh, it looks like someone already fixed this on trunk.  That's what I get for writing a patch against b2g18.  :-/
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: