diff options
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 00f3a65ca32..7a62c4f3327 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 cb1d1e9a35c..c7610fb0c87 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 } |