This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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, Fortran] documentation for FTELL, GETLOG, HOSTNM instrinsics


On Fri, 20 Oct 2006, Brooks Moses wrote:
> In general, are example programs like the ones I included here actually 
> considered useful?

I do consider them usual, but I'll defer to the Fortran maintainers
on this (and the patch per se).

If I may suggest some minor changes, though?

Index: intrinsic.texi
===================================================================
+This intrinsic is provided in both subroutine and function forms; however,
+only one form can be used in any given program unit.

How about chaning "...forms; however, only one..." to "forms.  Only one 
form can be..."?

+This intrinsic is provided in both subroutine and function forms; however,
+only one form can be used in any given program unit.

Similarly here.

+Stores the current user name in @var{LOGIN}.  (On systems where
+the @code{getlogin(3)} function is not implemented, this will
+return a blank string.)

I suggest to omit the parentheses here, and make "stores in" and
"return a blank string" more consistent.  (I assume that also in
the latter case, that blank string is going to be returned in LOGIN?)

Gerald


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