From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29092 invoked by alias); 17 Apr 2007 12:20:37 -0000 Received: (qmail 29049 invoked by uid 48); 17 Apr 2007 12:20:22 -0000 Date: Tue, 17 Apr 2007 12:20:00 -0000 Message-ID: <20070417122022.29048.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/31587] Module files shouldn't be updated if their content doesn't change In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tobi 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/msg01209.txt.bz2 ------- Comment #8 from tobi at gcc dot gnu dot org 2007-04-17 13:20 ------- The patch looks good, though it would probably be a better idea to use tmpnam() to get the name for the temporary file. A further thing one could do: instead of threatening "If you edit this, you'll get what you deserve.\n\n", one could actually verify that the MD5 sum matches the files contents. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31587