-----BEGIN PGP SIGNED MESSAGE-----


Bob Stanfield wrote:
<snip>
> I have the source code for xpr, and though it compiles it gives corrupted
> results on my DEC/Alpha Redhat Ver 4.2.
A brief look at the source code leads me to believe that this problem is 
due to the Alpha being a 64 bit machine.  The code uses unsigned long ints 
to store bitmaps, but if these contain 64 bits instead of 32 bits, that 
would lead to corrupted bitmaps (i.e. there would be 32 extra bits in each 
integer, so you'd get 32 bits of zeroes and then 32 bits of good data, 32 
bits of zeroes, etc.).  You could try changing the "unsigned long" 
definitions to "u_int32" definitions (that's unsigned 32 bit integers), 
and make sure the proper include file is included (I believe it is 
<sys/types.h>, but I could be wrong).  I don't have an Alpha to test this 
on, but I think it might be the problem.

> Question: Is anyone maintaining this? (See "SEE ALSO man xwd")
> 
> If not, which function mirrors its features?
You may be better off using one of the other programs that people 
mentioned rather than messing around trying to fix this.  I found the 
source in the unsupported section of ftp.x.org, so you're probably 
unlikely to find a maintainer.

_________________________________________________________________________
Kevin Mernick                                           
[EMAIL PROTECTED] / [EMAIL PROTECTED]                                     
"You certainly usually find something, if you look, but it is not always 
quite the something you were after."            --J.R.R. Tolkien 
finger [EMAIL PROTECTED] for PGP public key
_________________________________________________________________________



-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNQ2OEiE7l/Bud59lAQEFyAP/SmQuWzEmcbPMU1ABDtpfO+SDm8e2JqBi
g2adQzdVWX0SLxBbd4xJzyQaNzC3FY+D2+JL28yMICaX5c8zRfxN2KUhjj16qkUt
2V71vucIOxb/Pm4Z5F7S89w5ZLYA4Y6dGQn84QJ2+yC4eroP93/Nygznpwar/dzE
WbAogjBX7xU=
=mLpa
-----END PGP SIGNATURE-----


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to