Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t8005: use more portable character encoding names
[gitweb.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index c67ef63c55a80c6e466c1545e7eb7ffbb58ba1d4..f06876be67245ab559b57168553cfd71b9d23feb 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-189,7
+189,7
@@
static void remove_tempfile(void)
int i;
for (i = 0; i < ARRAY_SIZE(diff_temp); i++) {
if (diff_temp[i].name == diff_temp[i].tmp_path)
- unlink(diff_temp[i].name);
+ unlink
_or_warn
(diff_temp[i].name);
diff_temp[i].name = NULL;
}
}