aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-06-08 09:42:18 +0200
committerMartin Liska <mliska@suse.cz>2021-06-08 09:42:18 +0200
commit48aa5c60034736a439f2214dac34b165e74a7d20 (patch)
tree0caed86d380ea66f38b7da5fb709a87fb51f6ab1 /libgfortran
parent4db34072d5336d13b66f7185ec6454aa7d36f3c7 (diff)
downloadgcc-48aa5c60034736a439f2214dac34b165e74a7d20.zip
gcc-48aa5c60034736a439f2214dac34b165e74a7d20.tar.gz
gcc-48aa5c60034736a439f2214dac34b165e74a7d20.tar.bz2
Fix "tailing" typo.
gcc/fortran/ChangeLog: * intrinsic.texi: Fix typo. * trans-expr.c (gfc_trans_pointer_assignment): Likewise. gcc/ChangeLog: * genautomata.c (create_automata): Fix typo. libgfortran/ChangeLog: * intrinsics/chmod.c (chmod_internal): Fix typo. * io/transfer.c (read_sf): Likewise. libquadmath/ChangeLog: * libquadmath.texi: Fix typo. gcc/testsuite/ChangeLog: * gcc.dg/format/strfmon-1.c: Fix typo. * gfortran.dg/char4-subscript.f90: Likewise.
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/intrinsics/chmod.c2
-rw-r--r--libgfortran/io/transfer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/intrinsics/chmod.c b/libgfortran/intrinsics/chmod.c
index d0371ce..f4057cb 100644
--- a/libgfortran/intrinsics/chmod.c
+++ b/libgfortran/intrinsics/chmod.c
@@ -271,7 +271,7 @@ chmod_internal (char *file, char *mode, gfc_charlen_type mode_len)
part = 3;
break;
- /* Tailing blanks are valid in Fortran. */
+ /* Trailing blanks are valid in Fortran. */
case ' ':
for (i++; i < mode_len; i++)
if (mode[i] != ' ')
diff --git a/libgfortran/io/transfer.c b/libgfortran/io/transfer.c
index 36e35b4..e44b2df 100644
--- a/libgfortran/io/transfer.c
+++ b/libgfortran/io/transfer.c
@@ -491,7 +491,7 @@ read_sf (st_parameter_dt *dtp, size_t *length)
If the read is short, then it is because the current record does not
have enough data to satisfy the read request and the file was
- opened with PAD=YES. The caller must assume tailing spaces for
+ opened with PAD=YES. The caller must assume trailing spaces for
short reads. */
void *