summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2005-06-03 03:30:16 +0000
committerkan <kan@FreeBSD.org>2005-06-03 03:30:16 +0000
commit1d986ea68c6db47631382924459e834b5e125380 (patch)
treeb12357b5a0a0d2a2d4f6c0b9ecc445ae3e635edd /contrib
parentbe081a3e1d95c3b4d9cd8cf7c0564a2b835a7be7 (diff)
parent8a6911d2bb988a943624cbf4e4041b827d9ade53 (diff)
downloadFreeBSD-src-1d986ea68c6db47631382924459e834b5e125380.zip
FreeBSD-src-1d986ea68c6db47631382924459e834b5e125380.tar.gz
This commit was generated by cvs2svn to compensate for changes in r146901,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libf2c/ChangeLog17
-rw-r--r--contrib/libf2c/libI77/err.c8
2 files changed, 24 insertions, 1 deletions
diff --git a/contrib/libf2c/ChangeLog b/contrib/libf2c/ChangeLog
index 8dd3866..172c426 100644
--- a/contrib/libf2c/ChangeLog
+++ b/contrib/libf2c/ChangeLog
@@ -1,3 +1,20 @@
+2005-05-19 Release Manager
+
+ * GCC 3.4.4 released.
+
+2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ PR libf2c/17636
+ * libI77/err.c (f__nowwriting): Call fseek if end-of-file.
+
+2004-11-04 Release Manager
+
+ * GCC 3.4.3 released.
+
+2004-09-06 Release Manager
+
+ * GCC 3.4.2 released.
+
2004-07-01 Release Manager
* GCC 3.4.1 released.
diff --git a/contrib/libf2c/libI77/err.c b/contrib/libf2c/libI77/err.c
index 1a204e8..d643d3b 100644
--- a/contrib/libf2c/libI77/err.c
+++ b/contrib/libf2c/libI77/err.c
@@ -239,7 +239,13 @@ f__nowwriting (unit * x)
extern char *f__w_mode[];
if (x->urw & 2)
- goto done;
+ {
+ /* Not required according to C99 7.19.5.3, but
+ this really helps on Solaris. */
+ if (feof (x->ufd))
+ FSEEK (x->ufd, 0, SEEK_END);
+ goto done;
+ }
if (!x->ufnm)
goto cantwrite;
ufmt = x->url ? 0 : x->ufmt;
OpenPOWER on IntegriCloud