rolfh@solan.unit.no (Rolf Petter Halle) (08/02/90)
This has also been sent to xbugs.
X Window System Bug Report
xbugs@expo.lcs.mit.edu
VERSION:
R4
CLIENT MACHINE and OPERATING SYSTEM:
Sun 3/60 SunOS 4.1 (doesn't matter)
DISPLAY TYPE:
Sun CG4 (doesn't matter)
WINDOW MANAGER:
twm
AREA:
Xmu
SYNOPSIS:
The problems occurs when trying to use the twm-variables NoCaseSensitive
and SortIconmanager. Window names will not always be correctly sorted.
DESCRIPTION:
We've located the bug to the routine XmuCompareISOLatin1 in the file
lib/Xmu/Lower.c. The patch should give you a clue....
REPEAT BY:
Start new windows under twm, and see how twm sorts them.
SAMPLE FIX:
*** /tmp/,RCSt1a01486 Wed Aug 1 19:05:58 1990
--- Lower.c Wed Aug 1 19:00:46 1990
***************
*** 93,99 ****
else if ((b >= XK_Ooblique) && (b <= XK_Thorn))
b += (XK_oslash - XK_Ooblique);
! if (a != b) break;
}
}
return (((int) *ap) - ((int) *bp));
--- 93,100 ----
else if ((b >= XK_Ooblique) && (b <= XK_Thorn))
b += (XK_oslash - XK_Ooblique);
! if (a != b)
! return (((int) a) - ((int) b));
}
}
return (((int) *ap) - ((int) *bp));
-------
Tor Egge (tegge@solan.unit.no)
Rolf Halle (rolfh@solan.unit.no)