summaryrefslogtreecommitdiff
path: root/system/lvm2/fix-stdio-usage.patch
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-02-25 00:45:26 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-02-25 00:45:26 +0000
commit800cfeb6fc2dadb5eca69afde9a720fd5694c1af (patch)
tree191fc288774252cb7f093636b295fbf61bbabfee /system/lvm2/fix-stdio-usage.patch
parent6e65d53c8fdeae4573f0395c5009a69e45fadc70 (diff)
parentb1eeaf176be85f2529d9e52a599a266a47b039e7 (diff)
downloadpackages-800cfeb6fc2dadb5eca69afde9a720fd5694c1af.tar.gz
packages-800cfeb6fc2dadb5eca69afde9a720fd5694c1af.tar.bz2
packages-800cfeb6fc2dadb5eca69afde9a720fd5694c1af.tar.xz
packages-800cfeb6fc2dadb5eca69afde9a720fd5694c1af.zip
Merge branch 'bump.djt.20200211' into 'master'
djt's regular bumps (february 2020) See merge request adelie/packages!399
Diffstat (limited to 'system/lvm2/fix-stdio-usage.patch')
-rw-r--r--system/lvm2/fix-stdio-usage.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/system/lvm2/fix-stdio-usage.patch b/system/lvm2/fix-stdio-usage.patch
index 39ba2e1b4..d5cc43f65 100644
--- a/system/lvm2/fix-stdio-usage.patch
+++ b/system/lvm2/fix-stdio-usage.patch
@@ -27,23 +27,3 @@
printf("stderr stream open: %s\n",
strerror(errno));
return 0;
---- ./lib/commands/toolcontext.c.orig
-+++ ./lib/commands/toolcontext.c
-@@ -1860,7 +1860,7 @@
- /* FIXME Make this configurable? */
- reset_lvm_errno(1);
-
--#ifndef VALGRIND_POOL
-+#if !defined(VALGRIND_POOL) && defined(__GLIBC__)
- /* Set in/out stream buffering before glibc */
- if (set_buffering) {
- /* Allocate 2 buffers */
-@@ -2241,7 +2241,7 @@
- if (cmd->libmem)
- dm_pool_destroy(cmd->libmem);
-
--#ifndef VALGRIND_POOL
-+#if !defined(VALGRIND_POOL) && defined(__GLIBC__)
- if (cmd->linebuffer) {
- /* Reset stream buffering to defaults */
- if (is_valid_fd(STDIN_FILENO) &&