Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-08-31 00:16:41 +0300
committerJunio C Hamano <gitster@pobox.com>2022-08-31 00:16:41 +0300
commit78861eb58a17fc4041cb38879e194735e960dba5 (patch)
tree18bb11972630ee0956d5ef865fae5ff2bc06c0f2 /tempfile.h
parentd42b38dfb5edf1a7fddd9542d722f91038407819 (diff)
parentbabe2e05592f0e8025061ffc97e387e2aa70c99b (diff)
Merge branch 'rs/tempfile-cleanup-race-fix' into jk/tempfile-active-flag-cleanup
* rs/tempfile-cleanup-race-fix: tempfile: avoid directory cleanup race
Diffstat (limited to 'tempfile.h')
-rw-r--r--tempfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tempfile.h b/tempfile.h
index d7804a214a..5b9e8743dd 100644
--- a/tempfile.h
+++ b/tempfile.h
@@ -82,7 +82,7 @@ struct tempfile {
FILE *volatile fp;
volatile pid_t owner;
struct strbuf filename;
- size_t directorylen;
+ char *directory;
};
/*