Re: [gdi] bug reading/writing metafiles on sparc

2006-04-14 Thread Eric Frias
Phil Krylov wrote: However, I don't think there are a lot of programs using these APIs... I mean, let's implement it one or another way and wait till some such programs break (when ported to big-endian machines;) and see how exactly they will break and fix it then. True... and probably even l

Re: [gdi] bug reading/writing metafiles on sparc

2006-04-13 Thread Phil Krylov
On Thu, 13 Apr 2006 16:39:02 -0400 Eric Frias <[EMAIL PROTECTED]> wrote: > Phil Krylov wrote: > > >I have submitted a patch that fixes creation of on-disk _enhanced_ metafiles > >a few days ago: > > > >http://article.gmane.org/gmane.comp.emulators.wine.patches/23393 > > > > > Thanks for the poi

Re: [gdi] bug reading/writing metafiles on sparc

2006-04-13 Thread Eric Frias
Phil Krylov wrote: I have submitted a patch that fixes creation of on-disk _enhanced_ metafiles a few days ago: http://article.gmane.org/gmane.comp.emulators.wine.patches/23393 Thanks for the pointer, I hadn't seen that patch. It byteswaps EMF records just for writing to disk. Adding byte

Re: [gdi] bug reading/writing metafiles on sparc

2006-04-13 Thread Phil Krylov
On Thu, 13 Apr 2006 22:39:57 +0400 Phil Krylov <[EMAIL PROTECTED]> wrote: > It byteswaps EMF records just for writing to disk. Adding > byteswapping for reading from disk seems very easy - just feed the file > content to the same byteswapper functions. I think it is a bit more clean should be: to

Re: [gdi] bug reading/writing metafiles on sparc

2006-04-13 Thread Phil Krylov
On Thu, 13 Apr 2006 11:58:02 -0400 Eric Frias <[EMAIL PROTECTED]> wrote: > Due to little-endian/big-endian differences, winelib on Sparc can't read > windows metafiles generated on a PC (or on Wine on x86), and conversely > PCs can't read metafiles created on a Sparc. It looks like there are a

[gdi] bug reading/writing metafiles on sparc

2006-04-13 Thread Eric Frias
Due to little-endian/big-endian differences, winelib on Sparc can't read windows metafiles generated on a PC (or on Wine on x86), and conversely PCs can't read metafiles created on a Sparc. It looks like there are a few ways this could be fixed, and I wanted to make sure we don't go about it t