From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26034 invoked by alias); 5 Feb 2018 09:03:19 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 26005 invoked by uid 89); 5 Feb 2018 09:03:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*Ad:D*ie, H*F:D*ie, The, phrase X-HELO: mta00.svc.cra.dublin.eircom.net Received: from mta00.svc.cra.dublin.eircom.net (HELO mta00.svc.cra.dublin.eircom.net) (159.134.118.55) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Mon, 05 Feb 2018 09:03:16 +0000 Received: (qmail 19960 messnum 12195654 invoked from network[213.94.190.12/avas01.vendorsvc.cra.dublin.eircom.net]); 5 Feb 2018 09:03:13 -0000 Received: from avas01.vendorsvc.cra.dublin.eircom.net (HELO avas01) (213.94.190.12) by mta00.svc.cra.dublin.eircom.net (qp 19960) with SMTP; 5 Feb 2018 09:03:13 -0000 Received: from mail.sceal.ie ([83.70.207.66]) by Cloudmark Gateway with SMTP id icgDe04CIcTICicgDe72GI; Mon, 05 Feb 2018 09:03:13 +0000 X-CNFS-Analysis: v=2.2 cv=DPn/22Fb c=1 sm=1 tr=0 a=0Iw1gYdl+gX5BU/pizvEUA==:117 a=0Iw1gYdl+gX5BU/pizvEUA==:17 a=IkcTkHD0fZMA:10 a=Op4juWPpsa0A:10 a=xNf9USuDAAAA:8 a=Ug2Xn3OAAAAA:8 a=WDEf-DnrQZ7uJjPi1RAA:9 a=QEXdDO2ut3YA:10 a=SEwjQc04WA-l_NiBhQ7s:22 a=jup2QEcnA-U7-sUVP0FS:22 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.sceal.ie (Postfix) with ESMTP id 12E9816A92A for ; Mon, 5 Feb 2018 09:03:13 +0000 (GMT) Received: from mail.sceal.ie ([127.0.0.1]) by localhost (mail.sceal.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8r-CzQlH7Aex for ; Mon, 5 Feb 2018 09:03:12 +0000 (GMT) Received: from AlastairsLaptop.ichec.ie (arcturus.ichec.ie [193.1.243.3]) by mail.sceal.ie (Postfix) with ESMTPSA id 08C711602A4 for ; Mon, 5 Feb 2018 09:03:12 +0000 (GMT) Subject: Re: Bit-reproduciblity issue for gfortran .mod files To: fortran@gcc.gnu.org References: <4bf5bd17-616d-06ad-f6b6-e8a253c60ed7@debian.org> <20180203015813.GA10720@troutmask.apl.washington.edu> From: Alastair McKinstry Message-ID: <5be51114-0461-f996-9860-b1c309fcb267@sceal.ie> Date: Mon, 05 Feb 2018 09:03:00 -0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Thunderbird/58.0 MIME-Version: 1.0 In-Reply-To: <20180203015813.GA10720@troutmask.apl.washington.edu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfBR3LtY4aQzVa3zWMw3aWf4aD2Ga6fm/5YPxVLOMDg3Sfi8hgsfSkDcgLEsQlzCYGV9rYqrNO2yJJTfZh/wnWGGc6/a1+T2Z5derVKNFwyLmXf9WeYDN jLs42sf/EM/8bXh5O/g3Be9kXXE+vDm7/qPxcsqiruA6R7bSW3A29/EaWfe4jkHBEXIQQPzRIkzQNg== X-SW-Source: 2018-02/txt/msg00021.txt.bz2 On 03/02/2018 01:58, Steve Kargl wrote: > >> +/* for GNU / POSIX basename */ >> +#define _GNU_SOURCE >> +#include >> + > 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, , , 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