Solaris core dump with McMillan Installer

David Bolen db3l at fitlinxx.com
Thu Oct 25 18:39:10 EDT 2001


Gordon McMillan <gmcm at hypernet.com> writes:

> David Bolen wrote:
> 
> > Gordon McMillan <gmcm at hypernet.com> writes:
> > 
> >> I was going to guess 8, but I guess I better use 16.
> > 
> > Why not just let the compiler generate whatever alignment it wants for
> > the structure and just marshall/unmarshall the individual fields
> > (field by field) into the file.  That way alignment shouldn't be an
> > issue.
> 
> Because I write it with Python and read it with C. Maybe 
> (someday) not even on the same kind of box.

But field by field processing would be portable across both language
and system, so that shouldn't be an issue.

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list