Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37041161
en ru br
ALT Linux repos
S:4.18.1-alt1
5.0: 4.6.1-alt1
4.1: 4.4.3-alt0.M41.1
4.0: 4.4.2-alt0.M40
3.0: 4.2.2-alt1

Group :: Graphical desktop/XFce
RPM: libxfce4util

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libxfce4util-4.8.1-alt-fix-assertion.patch
Download


From 57c306e902068cb0fe2ecc8271e36718dd8c058b Mon Sep 17 00:00:00 2001
From: Jens Luedicke <jens@linux-vq8x.site>
Date: Tue, 18 Jan 2011 12:22:25 +0000
Subject: Fixed incorrect assertion in xfce_strjoin (bug #7122).
---
diff --git a/libxfce4util/xfce-miscutils.c b/libxfce4util/xfce-miscutils.c
index 2a25275..1b464aa 100644
--- a/libxfce4util/xfce-miscutils.c
+++ b/libxfce4util/xfce-miscutils.c
@@ -295,7 +295,7 @@ xfce_strjoin (const gchar *separator,
   gint   length;
   gint   n;
 
-  g_return_val_if_fail (count < 1, NULL);
+  g_return_val_if_fail (count > 0, NULL);
   g_return_val_if_fail (strings != NULL, NULL);
 
   for (length = 1, n = 0; n < count; n++)
--
cgit v0.8.3.4
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin