"Fossies" - the Fresh Open Source Software Archive

Member "libgd-2.3.3/tests/tga/bug00248.c" (11 Sep 2021, 251 Bytes) of package /linux/www/libgd-2.3.3.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "bug00248.c": 2.3.2_vs_2.3.3.

    1 #include <stdio.h>
    3 #include "gd.h"
    4 #include "gdtest.h"
    6 int main()
    7 {
    8     gdImagePtr im;
    9     FILE *fp = gdTestFileOpen("tga/bug00248.tga");
   10     im = gdImageCreateFromTga(fp);
   11     gdTestAssert(im == NULL);
   12     fclose(fp);
   13     return gdNumFailures();
   14 }