This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH] Slightly revised libgfortran/io/unix.c fixes
- From: Steven Bosscher <stevenb at suse dot de>
- To: "Aaron W. LaFramboise" <aaronavay62 at aaronwl dot com>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>, fortran at gcc dot gnu dot org
- Date: Thu, 28 Oct 2004 23:25:25 +0200
- Subject: Re: [PATCH] Slightly revised libgfortran/io/unix.c fixes
- Organization: SUSE Labs
- References: <418006DC.90509@aaronwl.com> <4180102E.4090503@aaronwl.com>
On Wednesday 27 October 2004 23:16, Aaron W. LaFramboise wrote:
> Aaron W. LaFramboise wrote:
> > This is a slight modification of the unapproved patch at
> > <http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01171.html>. The only
> > difference is that it includes a needed <stdio.h> that was missed in the
> > last patch.
>
> ... And this is the patch.
Can you add comment before these to explain why they're needed?
+ #ifndef S_IRGRP
+ #define S_IRGRP 0
+ #endif
+
+ #ifndef S_IWGRP
+ #define S_IWGRP 0
+ #endif
+
+ #ifndef S_IROTH
+ #define S_IROTH 0
+ #endif
+
+ #ifndef S_IWOTH
+ #define S_IWOTH 0
+ #endif
+
With that, the patch is OK.
Gr.
Steven