Date: Tue, 25 Nov 1997 14:09:57 +0200 (IST) From: Eli Zaretskii To: Anton Helm cc: djgpp AT delorie DOT com Subject: Re: strange behavior of difftime() In-Reply-To: <3.0.5.32.19971125000726.00979ea0@hal.nt.tuwien.ac.at> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 25 Nov 1997, Anton Helm wrote: > From the above quote I would assume that there is no restriction on > time0 and time1, especially the standard doesn't assume that time1 > time0. > > Why does difftime() from the DJGPP library produce erronous results > if time0 > time1 ?????? It's a bug. I already fell into this same trap when I was porting GNU `tar'. DJGPP v2.02 will have this corrected. A patched version should be available from Tom Demmer's libc site.