Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37691588
en ru br
ALT Linux repos
S:2.4.3-alt1
5.0: 2.0.11-alt2.M50.1
4.1: 2.0.14-alt1.M41.1
4.0: 2.0.9-alt2.M40.1
3.0: 1.9.17-alt2

Other repositories
Upstream:2.0.8

Group :: Text tools
RPM: gnupg2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 0020-ALT-Disable-own-copy-of-xtryreallocarray.patch
Download


From 8cffa0718527e462b7054fbf2c52da7d5a71ec9b Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Mon, 9 Jan 2023 20:28:05 +0300
Subject: ALT: Disable own copy of xtryreallocarray
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
---
 common/xasprintf.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/xasprintf.c b/common/xasprintf.c
index 7e37e5be6..8598e55a2 100644
--- a/common/xasprintf.c
+++ b/common/xasprintf.c
@@ -70,7 +70,7 @@ xtryasprintf (const char *fmt, ...)
   return buf;
 }
 
-
+#if 0
 /* This is safe version of realloc useful for reallocing a calloced
  * array.  There are two ways to call it:  The first example
  * reallocates the array A to N elements each of SIZE but does not
@@ -121,3 +121,4 @@ xtryreallocarray (void *a, size_t oldnmemb, size_t nmemb, size_t size)
     }
   return p;
 }
+#endif
-- 
2.25.4
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin