From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14150 invoked by alias); 22 Apr 2002 18:33:10 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14086 invoked from network); 22 Apr 2002 18:33:02 -0000 Received: from unknown (HELO frigg.inter.net.il) (192.114.186.16) by sources.redhat.com with SMTP; 22 Apr 2002 18:33:02 -0000 Received: from Zaretsky ([80.230.2.40]) by frigg.inter.net.il (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id BIR63008; Mon, 22 Apr 2002 21:32:58 +0300 (IDT) Date: Mon, 22 Apr 2002 11:33:00 -0000 From: "Eli Zaretskii" To: brobecker@ACT-Europe.FR Message-Id: <9003-Mon22Apr2002213259+0300-eliz@is.elta.co.il> CC: gdb-patches@sources.redhat.com In-reply-to: <20020422130016.D21070@act-europe.fr> (message from Joel Brobecker on Mon, 22 Apr 2002 13:00:17 +0200) Subject: Re: [RFA] Should openp open directories? Reply-to: Eli Zaretskii References: <20020418122535.B11802@act-europe.fr> <20020419111807.A7903@act-europe.fr> <6097-Fri19Apr2002124608+0300-eliz@is.elta.co.il> <20020422130016.D21070@act-europe.fr> X-SW-Source: 2002-04/txt/msg00803.txt.bz2 > Date: Mon, 22 Apr 2002 13:00:17 +0200 > From: Joel Brobecker > > Sorry for the delay. Here is a new patch, based on our discussion: > > 2002-04-18 Joel Brobecker > > * source.c (is_regular_file): New function. > (openp): Check wether file to open is a regular file > to avoid opening directories. > > Ok to commit? Yes, thanks.