aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/drivers/unix/unix_efile.c
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-11-20 12:08:42 +0100
committerHans Nilsson <[email protected]>2017-11-20 12:08:42 +0100
commitbab7b1aba04209c90d15be7147cc3524ae6964f5 (patch)
tree4d9c7ac92c0bf65a9498d8255d4879e75e2fda2f /erts/emulator/drivers/unix/unix_efile.c
parentf91898fc08c28195dd2e9cbfb15bfd91a5584550 (diff)
parentf021a71ad8ffd2d1f5548927944d2b08935511d1 (diff)
downloadotp-bab7b1aba04209c90d15be7147cc3524ae6964f5.tar.gz
otp-bab7b1aba04209c90d15be7147cc3524ae6964f5.tar.bz2
otp-bab7b1aba04209c90d15be7147cc3524ae6964f5.zip
Merge branch 'maint-20' into maint
* maint-20: Updated OTP version Prepare release ssh: testcases for space trailing Hello msg ssh: Don't remove trailing WS in Hello msg ssh: dialyzer fixes ssh: Fix broken error handling during session setup Remove invalid EINTR loop around close(2) Conflicts: lib/ssh/test/ssh_options_SUITE.erl
Diffstat (limited to 'erts/emulator/drivers/unix/unix_efile.c')
-rw-r--r--erts/emulator/drivers/unix/unix_efile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/drivers/unix/unix_efile.c b/erts/emulator/drivers/unix/unix_efile.c
index f8341f788a..33e4d75ef7 100644
--- a/erts/emulator/drivers/unix/unix_efile.c
+++ b/erts/emulator/drivers/unix/unix_efile.c
@@ -466,7 +466,7 @@ efile_may_openfile(Efile_error* errInfo, char *name) {
void
efile_closefile(int fd)
{
- while((close(fd) < 0) && (errno == EINTR));
+ close(fd);
}
int