d458efc66616d4f25156c269edfc29a76bcd8030
[termux-packages] / packages / coreutils / debug.patch
1 diff -u -r ../coreutils-8.27/src/du.c ./src/du.c
2 --- ../coreutils-8.27/src/du.c 2017-01-10 00:32:46.000000000 +0100
3 +++ ./src/du.c 2017-07-02 22:09:36.164133594 +0200
4 @@ -396,6 +396,10 @@
5 print_only_size (uintmax_t n_bytes)
6 {
7 char buf[LONGEST_HUMAN_READABLE + 1];
8 + char* out = human_readable (n_bytes, buf, human_output_opts, 1, output_block_size);
9 + fputs("NICE\n", stdout);
10 + printf("NICE\n");
11 + printf("output=%s\n", human_readable (n_bytes, buf, human_output_opts, 1, output_block_size));
12 fputs ((n_bytes == UINTMAX_MAX
13 ? _("Infinity")
14 : human_readable (n_bytes, buf, human_output_opts,