Commit Graph

2 Commits

Author SHA1 Message Date
Andrea Canciani
11305b4ecd test: Fix tests for compilation on Windows
The Microsoft C compiler cannot handle subobject initialization and
Win32 does not provide snprintf.

Work around these limitations by using normal struct initialization
and using sprintf (a manual check shows that the buffer size is
sufficient).
2011-02-28 10:38:02 +01:00
Søren Sandmann Pedersen
880afeecc0 Add trap-crasher.c test program
Based off of Pavel Kankovsky's test case in bug 16560.
2009-04-24 21:39:33 -04:00