Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37810829
en ru br
ALT Linux repos
S:2.3.8-alt1
5.0: 2.2.3-alt3.2
4.1: 2.2.3-alt3.1
4.0: 2.2.3-alt3.1
3.0: 2.2.3-alt2

Group :: System/Libraries
RPM: openmotif

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: openMotif-2.2.3-rh-pixel_length.patch
Download


--- openMotif-2.2.3/lib/Xm/DataF.c.pixel_length	2004-06-03 15:11:52.932820812 +0200
+++ openMotif-2.2.3/lib/Xm/DataF.c	2004-06-03 15:12:27.323091126 +0200
@@ -8648,7 +8648,7 @@
 	    curr_str++;
 	    i++;
 	 } else {
-	    wchar_t tmp;
+	    wchar_t tmp[XmTextF_max_char_size(tf)+1];
 	    int num_conv;
 	    num_conv = mbtowc(&tmp, curr_str, XmTextF_max_char_size(tf));
             if (num_conv >= 0 && df_FindPixelLength(tf, (char*) &tmp, 1)) {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin