Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Treeve Jelbert (ea491a4003ff1366ccaaa6870d955b020cbd3afa)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Treeve Jelbert <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Treeve Jelbert (ea491a4003ff1366ccaaa6870d955b020cbd3afa)
  • Date: Sun, 29 Jun 2025 14:36:19 +0000

GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:

disk/lvm/HISTORY | 3 +
disk/lvm/patches/0001-fix-stdio-usage.patch | 69
----------------------------
2 files changed, 3 insertions(+), 69 deletions(-)

New commits:
commit ea491a4003ff1366ccaaa6870d955b020cbd3afa
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

lvm - dleete bad patch

diff --git a/disk/lvm/HISTORY b/disk/lvm/HISTORY
index 4b7424d..bc01e41 100644
--- a/disk/lvm/HISTORY
+++ b/disk/lvm/HISTORY
@@ -1,3 +1,6 @@
+2025-06-29 Treeve Jelbert <treeve AT sourcemage.org>
+ * patches/0001-fix-stdio-usage.patch: delete bad patch
+
2025-06-20 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 2.03.32

diff --git a/disk/lvm/patches/0001-fix-stdio-usage.patch
b/disk/lvm/patches/0001-fix-stdio-usage.patch
deleted file mode 100644
index a545909..0000000
--- a/disk/lvm/patches/0001-fix-stdio-usage.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From 63b1c7332bee6080bffecf9ce9d75ff15d799166 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa AT alpinelinux.org>
-Date: Wed, 16 Nov 2022 10:42:39 +0100
-Subject: [PATCH] fix stdio usage
-
-Origin: Alpine Linux
-Upstream-Status: Unknown
-Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
----
- lib/commands/toolcontext.c | 4 ++--
- tools/lvmcmdline.c | 6 +++---
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/lib/commands/toolcontext.c b/lib/commands/toolcontext.c
-index b630554a9..f20080d18 100644
---- a/lib/commands/toolcontext.c
-+++ b/lib/commands/toolcontext.c
-@@ -1667,7 +1667,7 @@ struct cmd_context *create_toolcontext(unsigned
is_clvmd,
- /* 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
-@@ -2045,7 +2045,7 @@ void destroy_toolcontext(struct cmd_context *cmd)
- dm_hash_destroy(cmd->cft_def_hash);
-
- dm_device_list_destroy(&cmd->cache_dm_devs);
--#ifndef VALGRIND_POOL
-+#if !defined(VALGRIND_POOL) && defined(__GLIBC__)
- if (cmd->linebuffer) {
- /* Reset stream buffering to defaults */
- if (is_valid_fd(STDIN_FILENO) &&
-diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c
-index a5bb6a5c5..0ebfa375c 100644
---- a/tools/lvmcmdline.c
-+++ b/tools/lvmcmdline.c
-@@ -3422,7 +3422,7 @@ static int _check_standard_fds(void)
- int err = is_valid_fd(STDERR_FILENO);
-
- if (!is_valid_fd(STDIN_FILENO) &&
-- !(stdin = fopen(_PATH_DEVNULL, "r"))) {
-+ !freopen(_PATH_DEVNULL, "r", stdin)) {
- if (err)
- perror("stdin stream open");
- else
-@@ -3432,7 +3432,7 @@ static int _check_standard_fds(void)
- }
-
- if (!is_valid_fd(STDOUT_FILENO) &&
-- !(stdout = fopen(_PATH_DEVNULL, "w"))) {
-+ !freopen(_PATH_DEVNULL, "w", stdout)) {
- if (err)
- perror("stdout stream open");
- /* else no stdout */
-@@ -3440,7 +3440,7 @@ static int _check_standard_fds(void)
- }
-
- if (!is_valid_fd(STDERR_FILENO) &&
-- !(stderr = fopen(_PATH_DEVNULL, "w"))) {
-+ !freopen(_PATH_DEVNULL, "w", stderr)) {
- printf("stderr stream open: %s\n",
- strerror(errno));
- return 0;
---
-2.38.1
-


  • [[SM-Commit] ] GIT changes to master grimoire by Treeve Jelbert (ea491a4003ff1366ccaaa6870d955b020cbd3afa), Treeve Jelbert, 06/29/2025

Archive powered by MHonArc 2.6.24.

Top of Page