From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29205 invoked by alias); 18 Apr 2007 18:39:37 -0000 Received: (qmail 29160 invoked by uid 48); 18 Apr 2007 18:39:26 -0000 Date: Wed, 18 Apr 2007 18:39:00 -0000 Message-ID: <20070418183926.29159.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/31299] Use getpwuid(geteuid()) instead of getlogin() for GETLOG() In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dfranke at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-04/txt/msg01413.txt.bz2 ------- Comment #18 from dfranke at gcc dot gnu dot org 2007-04-18 19:39 ------- > It happens when you compile and link statically a Fortran code > that uses GETLOG(). Confirmed. But if and only if it uses GETLOG(). Thus, it's not too bad. From comment #13, I assumed that the warning is issued all the time, whenever linking is done. > I'll test and commit the patch soon. The docs should be updated accordingly, especially the part referring to getlogin(3) ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31299