Opened 14 years ago

Last modified 14 years ago

#6417 closed bug

__printf_fphex crashes in haiku — at Initial Version

Reported by: MrSunshine Owned by: axeld
Priority: normal Milestone: R1
Component: System/libroot.so Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

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;

}

Change History (0)

Note: See TracTickets for help on using tickets.