From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20439 invoked by alias); 9 Jul 2008 20:49:43 -0000 Received: (qmail 19255 invoked by uid 48); 9 Jul 2008 20:48:52 -0000 Date: Wed, 09 Jul 2008 20:49:00 -0000 Message-ID: <20080709204852.19254.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/36755] Avoid fork/exec in chmod intrinsic In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia 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: 2008-07/txt/msg00943.txt.bz2 ------- Comment #3 from pinskia at gcc dot gnu dot org 2008-07-09 20:48 ------- > The current fork/exec implementation is incorrect. How is it incorrect? Since file could have spaces in it, using system is not useful at all and even harder to do the correct thing. Really it does not use system because creating a string to use with system makes it even more incorrect than it is currently. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36755