mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-util/schroot: add link to upstream PR for resize patch
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
https://codeberg.org/shelter/reschroot/pulls/6
|
||||
|
||||
From 6d7a762d6d630548ed558e0de8ddf04f3b0a69fc Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= <arsen@aarsen.me>
|
||||
Date: Sat, 14 Jan 2023 22:53:20 +0100
|
||||
@@ -6,12 +8,6 @@ Subject: [PATCH] sbuild-util: use resize instead of reserve
|
||||
Using reserved but uninitialized space is invalid, and, additionally,
|
||||
reserve is not required to allocate memory or change the buffer size at
|
||||
all.
|
||||
---
|
||||
sbuild/sbuild-util.cc | 24 ++++++++++++------------
|
||||
1 file changed, 12 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/sbuild/sbuild-util.cc b/sbuild/sbuild-util.cc
|
||||
index b89068a7..b6af7e89 100644
|
||||
--- a/sbuild/sbuild-util.cc
|
||||
+++ b/sbuild/sbuild-util.cc
|
||||
@@ -624,17 +624,17 @@ void
|
||||
|
||||
Reference in New Issue
Block a user