[PATCH, Fortran] documentation for FTELL, GETLOG, HOSTNM instrinsics

Gerald Pfeifer gerald@pfeifer.com
Sun Oct 22 16:09:00 GMT 2006


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



More information about the Gcc-patches mailing list