summaryrefslogtreecommitdiff
path: root/system/lvm2/fix-stdio-usage.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-05-04 03:47:05 +0000
committerZach van Rijn <me@zv.io>2022-05-06 12:37:31 -0500
commit2b7653a98515ed55ccf615579a7c8a245030126f (patch)
treea4045555b5139f51a5e188995fc177e83f7b3bdf /system/lvm2/fix-stdio-usage.patch
parent4017de01bdc07f5f9dd91b1039612a9622f2f1b1 (diff)
downloadpackages-2b7653a98515ed55ccf615579a7c8a245030126f.tar.gz
packages-2b7653a98515ed55ccf615579a7c8a245030126f.tar.bz2
packages-2b7653a98515ed55ccf615579a7c8a245030126f.tar.xz
packages-2b7653a98515ed55ccf615579a7c8a245030126f.zip
system/lvm2: bump { 2.03.13 --> 2.03.15 }.
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 6b7ee0eaa..69832c004 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;
---- LVM2.2.03.08/lib/commands/toolcontext.c 2020-02-11 03:59:27.000000000 -0600
-+++ LVM2.2.03.08/lib/commands/toolcontext.c 2020-03-22 16:18:35.130101016 -0500
-@@ -1599,7 +1599,7 @@ struct cmd_context *create_toolcontext(u
- /* 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
- #ifdef SYS_gettid
-@@ -1980,7 +1980,7 @@ void destroy_toolcontext(struct cmd_cont
-
- if (cmd->pending_delete_mem)
- dm_pool_destroy(cmd->pending_delete_mem);
--#ifndef VALGRIND_POOL
-+#if !defined(VALGRIND_POOL) && defined(__GLIBC__)
- if (cmd->linebuffer) {
- /* Reset stream buffering to defaults */
- if (is_valid_fd(STDIN_FILENO) &&