This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: Avoid using S_IRGRP, etc., on Windows
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 16 Mar 2005 10:30:15 -0500
- Subject: Re: PATCH: Avoid using S_IRGRP, etc., on Windows
- References: <200503091920.j29JKRRM007735@sethra.codesourcery.com>
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 <mark@codesourcery.com>
>
> * 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