#6417: __printf_fphex crashes in haiku ---------------------------------+------------------------------------------ Reporter: MrSunshine | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/libroot.so | Version: R1/Development Keywords: | Blocked By: Has a Patch: 0 | Platform: All Blocking: | ---------------------------------+------------------------------------------ Been trying to compile Tango using LDC D compiler, and it crashed so started investigating, this test crashes on haiku but not on linux: /* vfprintf example */ #include <stdio.h> #include <stdarg.h> void WriteFormatted (FILE * stream, char * format, ...) { va_list args; va_start (args, format); vfprintf (stream, format, args); va_end (args); } int main () { FILE * pFile; pFile = fopen ("myfile.txt","w"); WriteFormatted (pFile,"Call with %x variable %s.\n",2.0f,"arguments"); fclose (pFile); return 0; } -- Ticket URL: <http://dev.haiku-os.org/ticket/6417> Haiku <http://dev.haiku-os.org> Haiku - the operating system.