This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Slightly revised libgfortran/io/unix.c fixes


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]