Your message dated Sat, 14 Jun 2014 20:21:04 -0400
with message-id 
<CANTw=MNZY+Sk63+DC4S_C1FRT-+-4RHd6tw=NV=qchfvkik...@mail.gmail.com>
and subject line Re: [pkg-wine-party] Bug#741592: For x and X conversions, a 
*nonzero* result has the string "0x"
has caused the Debian Bug report #741592,
regarding For x and X conversions, a *nonzero* result has the string "0x"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
741592: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741592
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gcc-mingw-w64-i686
Version: 4.8.2-11+12

As per printf documentation:

[...]
       #      The  value  should be converted to an "alternate form".
For o conversions, the first character of the output string is made
zero (by prefixing a 0 if it was
              not zero already).  For x and X conversions, a nonzero
result has the string "0x" (or "0X" for X conversions) prepended to
it.  For a, A, e, E, f, F, g,  and
              G conversions, the result will always contain a decimal
point, even if no digits follow it (normally, a decimal point appears
in the results of those conver‐
              sions only if a digit follows).  For g and G
conversions, trailing zeros are not removed from the result as they
would otherwise be.  For other  conversions,
              the result is undefined.
[...]


However:

$ cat t.c
#include <stdio.h>
int main()
{
  int val = 0;/* zero */
  fprintf(stdout,  "value=%#x\n", val );
  return 0;
}
$ i686-w64-mingw32-gcc t.c
$ wine32 a.exe
value=0x0

--- End Message ---
--- Begin Message ---
version: 1.7.16-1

--- End Message ---
_______________________________________________
pkg-wine-party mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-wine-party

Reply via email to