PATCH: Avoid using S_IRGRP, etc., on Windows

Daniel Jacobowitz drow@false.org
Wed Mar 16 15:30:00 GMT 2005


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



More information about the Gdb-patches mailing list