Ok, here's an ifdef version (+ added error handling for our case, if
the tmpfile has failed).
Index: Makefile
===
RCS file: /cvs/ports/devel/check/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile29 Sep
21 нояб. 2014 г. 3:42 пользователь "Kaspars Bankovskis" <
kasp...@bankovskis.net> написал:
>
> Hi,
>
> Currently, when linking your source against libcheck, you get an
> annoying warning about unsafe usage of tempnam(3). The following
> patch fixes that, by commenting out a block of code which, ac
Hi,
Currently, when linking your source against libcheck, you get an
annoying warning about unsafe usage of tempnam(3). The following
patch fixes that, by commenting out a block of code which, according
to comments above it, is supposed to solve issues with Windows, and
shouldn't be relevant in O