~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
aria2: Update homepage and github repo
[termux-packages]
/
packages
/
git
/
wrapper.c.patch
diff --git
a/packages/git/wrapper.c.patch
b/packages/git/wrapper.c.patch
index
41db011
..
10637fa
100644
(file)
--- a/
packages/git/wrapper.c.patch
+++ b/
packages/git/wrapper.c.patch
@@
-10,12
+10,3
@@
diff -u -r ../git-2.8.1/wrapper.c ./wrapper.c
n = snprintf(path, len, "%s/%s", tmp, template);
if (len <= n) {
errno = ENAMETOOLONG;
n = snprintf(path, len, "%s/%s", tmp, template);
if (len <= n) {
errno = ENAMETOOLONG;
-@@ -454,7 +454,7 @@
-
- tmp = getenv("TMPDIR");
- if (!tmp)
-- tmp = "/tmp";
-+ tmp = "@TERMUX_PREFIX@/tmp";
- n = snprintf(path, len, "%s/%s", tmp, template);
- if (len <= n) {
- errno = ENAMETOOLONG;