diff options
author | Craig Burley <craig@jcb-sc.com> | 1999-06-18 08:41:09 +0000 |
---|---|---|
committer | Craig Burley <burley@gcc.gnu.org> | 1999-06-18 04:41:09 -0400 |
commit | 749f840d899f0e9430656616d38b9b7b283f116f (patch) | |
tree | 42d8adc35f61330cf9c281c6a433729df56573f1 /libf2c | |
parent | ac02f3128fbd565fba2abd94ec3a0754b992e5fb (diff) | |
download | gcc-749f840d899f0e9430656616d38b9b7b283f116f.zip gcc-749f840d899f0e9430656616d38b9b7b283f116f.tar.gz gcc-749f840d899f0e9430656616d38b9b7b283f116f.tar.bz2 |
fix ttynam for no-ttynam case
From-SVN: r27594
Diffstat (limited to 'libf2c')
-rw-r--r-- | libf2c/ChangeLog | 6 | ||||
-rw-r--r-- | libf2c/libU77/ttynam_.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libf2c/ChangeLog b/libf2c/ChangeLog index 00f3a65..7a62c4f 100644 --- a/libf2c/ChangeLog +++ b/libf2c/ChangeLog @@ -1,3 +1,9 @@ +Fri Jun 18 11:38:07 1999 Craig Burley <craig@jcb-sc.com> + + * libU77/ttynam_.c: if !defined (HAVE_TTYNAM), + write all spaces into return value instead of trying + to return -1 from a void function. + Fri Jun 18 11:22:21 1999 Craig Burley <craig@jcb-sc.com> Update to Netlib version of 1999-05-10: diff --git a/libf2c/libU77/ttynam_.c b/libf2c/libU77/ttynam_.c index cb1d1e9..c7610fb 100644 --- a/libf2c/libU77/ttynam_.c +++ b/libf2c/libU77/ttynam_.c @@ -59,6 +59,6 @@ extern void s_copy(register char *a, register char *b, ftnlen la, ftnlen lb); } #else errno = ENOSYS; - return -1; + s_copy (ret_val, " ", ret_val_len, 1); #endif } |