Bit-reproduciblity issue for gfortran .mod files

Alastair McKinstry alastair.mckinstry@sceal.ie
Mon Feb 5 09:03:00 GMT 2018


On 03/02/2018 01:58, Steve Kargl wrote:

>
>> +/* for GNU / POSIX basename */
>> +#define _GNU_SOURCE
>> +#include <string.h>
>> +
> What is the above for?  basename(3) is declared in libgen.h.
>
I hadn't tested the libgen.h version, only this one. The manual page
points out that there are two versions, and "The  GNU  version  never 
modifies its argument", which made me wary of using the libgen.h one.


-- 
Alastair McKinstry, <alastair@sceal.ie>, <mckinstry@debian.org>, https://diaspora.sceal.ie/u/amckinstry
Commander Vimes didn’t like the phrase “The innocent have nothing to fear,”
 believing the innocent had everything to fear, mostly from the guilty but in the longer term
 even more from those who say things like “The innocent have nothing to fear.”
 - T. Pratchett, Snuff



More information about the Fortran mailing list