Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8e6cb08 authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am e814b43c: Merge "Don\'t use TEMP_FAILURE_RETRY on close in frameworks/native."

* commit 'e814b43c':
  Don't use TEMP_FAILURE_RETRY on close in frameworks/native.
parents 81103f12 e814b43c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,6 +86,6 @@ int main() {
    } while (bytes_written != 0 && bytes_to_send > 0);
  }

  TEMP_FAILURE_RETRY(close(s));
  close(s);
  return 0;
}
+1 −1
Original line number Diff line number Diff line
@@ -306,7 +306,7 @@ static int _dump_file_from_fd(const char *title, const char *path, int fd) {
            }
        }
    }
    TEMP_FAILURE_RETRY(close(fd));
    close(fd);

    if (!newline) printf("\n");
    if (title) printf("\n");