Hi, On Samstag 03 April 2010, Micha Lenk wrote: [...] > tt=mktime(&ti); > assert(tt!=(time_t)-1); > s=(uint32_t)tt; [...] > Unfortunately I can't make any sense out of the last assertion within > this function. Can you please comment a bit about what is happening here > and why? [...]
I can't reproduce this report here, however, the above code checks whether mktime() returns -1 (thus indicating it couldn't create a valid time_t from the given information). QBankManager should check the plausibility of the given date before calling this function, and maybe gwen shouldn't use an assert here... Regards Martin -- "Things are only impossible until they're not" Martin Preuss - http://www2.aquamaniac.de/ AqBanking - http://www.aqbanking.de/ LibChipcard - http://www.libchipcard.de/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org