[PATCH 1/6] msvcrt: Rewrite asctime function

Eric Pouech eric.pouech at orange.fr
Tue Apr 10 14:53:22 CDT 2012


Le 10/04/2012 13:57, Piotr Caban a écrit :
> ---
>  dlls/msvcrt/tests/time.c |   48 +++++++++++++++++++++++++++++++
>  dlls/msvcrt/time.c       |   70 
> ++++++++++++++++++++++++++-------------------
>  2 files changed, 88 insertions(+), 30 deletions(-)
>
>
>
>

+            || !MSVCRT_CHECK_PMT(asctime_buf(time, mstm) != NULL)) {

this isn't as MSVCRT_CHECK_PMT is supposed to be used (ie the test itself can be shown to the user
to explain what fails as a condition on parameters, which isn't explicit in your case)
A+


-- 
Eric Pouech
"The problem with designing something completely foolproof is to underestimate the ingenuity of a complete idiot." (Douglas Adams)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120410/89eceab7/attachment.html>


More information about the wine-patches mailing list