> I don't get a
> valid pdb file as output.  It looks like there is some translation of bytes
> going on in the stream since it appends a x0d to each x0a.  Also the record
> offset for the third record in my case was invalid (it's value was x3f
> which points inside the pdb header).  

This sounds like the old "open files in binary mode" bug (feature?) in
Windows.  After the call to create the output_stream

    ByteArrayOutputStream output_stream = new ByteArrayOutputStream();

perhaps on Windows you have to make some additional call to make sure it's
in binary mode?  Or, when you write it to a FileOutputStream, perhaps you
have to take some additional care to make sure *that* stream is in binary
mode?

Bill


_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to