From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10803 invoked by alias); 16 Mar 2005 15:30:26 -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 10544 invoked from network); 16 Mar 2005 15:30:16 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 16 Mar 2005 15:30:16 -0000 Received: from drow by nevyn.them.org with local (Exim 4.44 #1 (Debian)) id 1DBaTP-00081v-K9; Wed, 16 Mar 2005 10:30:15 -0500 Date: Wed, 16 Mar 2005 15:30:00 -0000 From: Daniel Jacobowitz To: Mark Mitchell Cc: gdb-patches@sources.redhat.com Subject: Re: PATCH: Avoid using S_IRGRP, etc., on Windows Message-ID: <20050316153015.GB30681@nevyn.them.org> Mail-Followup-To: Mark Mitchell , gdb-patches@sources.redhat.com References: <200503091920.j29JKRRM007735@sethra.codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503091920.j29JKRRM007735@sethra.codesourcery.com> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00211.txt.bz2 On Wed, Mar 09, 2005 at 11:20:27AM -0800, Mark Mitchell wrote: > > Windows doesn't define all of the permissions macros (e.g., S_IRGRP) > because its filesystems don't have that concept. This patch checks > that the macros are defined before trying to use them. > > OK? > > -- > Mark Mitchell > CodeSourcery, LLC > mark@codesourcery.com > > 2005-03-09 Mark Mitchell > > * remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of > S_IRGRP and related macros. > (remote_fileio_mode_to_target): Likewise. Yeah, this is OK. -- Daniel Jacobowitz CodeSourcery, LLC