This is the mail archive of the xconq7@sourceware.cygnus.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [erik.jessen@home.com: Re: Saving Games in Xconq]



   Date: Wed, 10 Nov 1999 21:14:15 -0800
   From: Erik Jessen <erik.jessen@home.com>

   I prefer the ASCII file approach; one question: does the parser cope
   with all styles of CR/LF?  I.e. I could save a game under NT & load it
   under UNIX?  And please don't look at the first line & assume all
   the others have the same CR/LF format; there are editors that save files
   with a mix.... (argghhhh).

In theory yes, the parser is supposed to treat both CRs and LFs as
whitespace.  However, upon looking at the code, I can see a couple
potential trouble spots.  Hans introduced a special file opener that
can handle Mac/Unix differences transparently by opening in different
modes ("r" vs "rb"), we may just want to do a Windows version of the
same.

								Stan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]