MCPcopy Create free account
hub / github.com/antirez/ds4 / agent_completion_session_cmp

Function agent_completion_session_cmp

ds4_agent.c:5101–5106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5099 save_err, sizeof(save_err))) &&
5100 fflush(fp) == 0;
5101 int saved_errno = errno;
5102 if (fclose(fp) != 0) {
5103 if (!saved_errno) saved_errno = errno;
5104 ok = false;
5105 }
5106 if (ok && rename(tmp, path) != 0) {
5107 saved_errno = errno;
5108 ok = false;
5109 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected