[comp.lang.modula2] Logitech Libraries

BOTCHAIR@UOGUELPH.BITNET (Alex Bewley) (07/28/89)

   Today I was working on a project that required the use of the Logitech
 DurationOps module.  I found a rather irritating bug.  When using
 GreaterOrEqual (called from LaterOrSameDate) the procedure rounded up a date
 that was at the end of the month to the next month and 0th day.  When the
 actual comparison was done (with a Day resolution) it discovered that the
 day of the rounded-up-month was less than that of the other date, therefore
 assuming that the rounded-up-month was less than the other date (which was
 not so).  It did not check to see that the month of the rounded-up-month was
 greater, and make the appropriate conclusion.
   I have modified the source (so that it works) and can send it to anybody
 who interested.

   Alex Bewley
   Just this guy...

P.S. I also have modified the Directories module to permit recursive calling
     of DirQuery - returning all DTA information - selection of the different
     attributes of file to be searched for.