According to Maurice Lombardi:
Perhaps it's the same bug that was reported about test\extended\time.pas in 34396148.5C71@ujf-grenoble.fr, but I'll record this, too. Thanks for the bug report... :-|
No it is different. I have checked that this old bug is still there, while the example of the Chief works fine on my machine. (All is made in plain DOS/ DJGPP v2.1, the old bug did not appear under bash shell in the same machine)
I suspect that this bug is not in GPC but in the DJGPP port of the UNIX function `gettimeofday'. Maybe the `bash' shell catches and "repairs" the DOS interrupt? I don't know ...
Maybe we should re-write `_p_gettimestamp' for the MSDOS target using the interrupt directly?
The other bug reported by The African Chief *might* have the same reason.
A lot of guessing, sorry ...
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [971005] maintainer GNU Pascal [971001] - http://home.pages.de/~gnu-pascal/ [971005]