[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cfgtool 1.0 -- alea iacta est



"Brian C. White":
> > I rewrote the data storage part of cfgtool. It now stores all
> > variables in one file, to avoid wasting storage. The one file
> > is a binary file, which is not very nice, but it should be a
> > portable one, assuming 8 bit chars and character sets and so on.
> 
> What about endianness?

When I say portable, I mean portable. Endianness is not a problem,
nor the size of integers. What is stored is an 4 octet, little-endian
version of the value -- it is converted to and from native format
automatically.

It is, of course, completely untested. :)

-- 
Please read <http://www.iki.fi/liw/mail-to-lasu.html> before mailing me.
Please don't Cc: me when replying to my message on a mailing list.


Attachment: pgpAfJLA4H7YB.pgp
Description: PGP signature


Reply to: