Mail Archives: djgpp/1997/02/07/15:10:28
> A bit disconcerting when make starts telling me files were created in the
> future.
I can live with it, since i use this dos machine only to compile the port,
i even edit my dos programs under sunos. I wrote a little script, that runs
on the sun (my nfs server) and looks for object files which are older than
their source and deletes them. This causes the dos make to work (but still
complaining about files living in the future).
> I seem to remember that this is a bug in DOS, when the clock turns around
> at midnight and you read it. I could be wrong; I just once had to go through
> some extensive source code that went to great pains to not do that.
Yeah, i remember there was something like that: If you read the system timer
via the bios int you get informed if the counter passed midnight. If your
program gets this info it will not be passed to dos. I once wrote a program,
that worked around this problrm but i don't remember how it worked (perhaps
resetting the counter to one tick before midnight and wait a second, to
"forward" the midnight notice to dos?)
Ciao,
Till
- Raw text -