Fredrik Fornwall
8 years ago
4 changed files with 39 additions and 2 deletions
@ -0,0 +1,14 @@ |
|||
diff -u -r ../coreutils-8.27/src/du.c ./src/du.c
|
|||
--- ../coreutils-8.27/src/du.c 2017-01-10 00:32:46.000000000 +0100
|
|||
+++ ./src/du.c 2017-07-02 22:09:36.164133594 +0200
|
|||
@@ -396,6 +396,10 @@
|
|||
print_only_size (uintmax_t n_bytes) |
|||
{ |
|||
char buf[LONGEST_HUMAN_READABLE + 1]; |
|||
+ char* out = human_readable (n_bytes, buf, human_output_opts, 1, output_block_size);
|
|||
+ fputs("NICE\n", stdout);
|
|||
+ printf("NICE\n");
|
|||
+ printf("output=%s\n", human_readable (n_bytes, buf, human_output_opts, 1, output_block_size));
|
|||
fputs ((n_bytes == UINTMAX_MAX |
|||
? _("Infinity") |
|||
: human_readable (n_bytes, buf, human_output_opts, |
@ -0,0 +1,12 @@ |
|||
diff -u -r ../coreutils-8.27/src/sort.c ./src/sort.c
|
|||
--- ../coreutils-8.27/src/sort.c 2017-01-01 23:34:24.000000000 +0100
|
|||
+++ ./src/sort.c 2017-07-02 23:32:35.261252848 +0200
|
|||
@@ -101,7 +101,7 @@
|
|||
#endif |
|||
|
|||
#ifndef DEFAULT_TMPDIR |
|||
-# define DEFAULT_TMPDIR "/tmp"
|
|||
+# define DEFAULT_TMPDIR "@TERMUX_PREFIX@/tmp"
|
|||
#endif |
|||
|
|||
/* Maximum number of lines to merge every time a NODE is taken from |
@ -0,0 +1,12 @@ |
|||
diff -u -r ../coreutils-8.27/src/tac.c ./src/tac.c
|
|||
--- ../coreutils-8.27/src/tac.c 2017-02-18 04:18:29.000000000 +0100
|
|||
+++ ./src/tac.c 2017-07-02 23:32:45.765137258 +0200
|
|||
@@ -67,7 +67,7 @@
|
|||
|
|||
|
|||
#ifndef DEFAULT_TMPDIR |
|||
-# define DEFAULT_TMPDIR "/tmp"
|
|||
+# define DEFAULT_TMPDIR "@TERMUX_PREFIX@/tmp"
|
|||
#endif |
|||
|
|||
/* The number of bytes per atomic read. */ |
Loading…
Reference in new issue