POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov 0.4, macros trouble : Re: MegaPov 0.4, macros trouble Server Time
2 Nov 2024 05:20:01 EDT (-0400)
  Re: MegaPov 0.4, macros trouble  
From: david sharp
Date: 1 Feb 2000 20:26:35
Message: <389787cb@news.povray.org>
Nathan Kopp <Nat### [at] Koppcom> wrote in message
news:3897435b@news.povray.org...

> > For some reason there is a problem with the FastMacroPatch
> > as compiled by djgpp under ms-dos.
> >
>
> Try converting between DOS (cr+lf) and unix (lf only) text files - this
will
> probably have an affect on it.  Compilers, unfortunately, are not standard
> in how they handle fseek() and ftell(), especially when dealing with DOS
> files.  I've got code in there that's supposed to handle all situations,
but
> I guess I didn't anticipate whatever DJGPP is doing to the code.

Thanks much. Converting scene file cr-lf's  to lf's 'fixes' the
FastMacroPatch.
(that is, lets the troublesome macros run).

What is it that the FastMacroPatch does that other fseek/ftell dependent
stuff in POV doesn't?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.