fix ttynam for no-ttynam case

From-SVN: r27594
This commit is contained in:
Craig Burley 1999-06-18 08:41:09 +00:00 committed by Craig Burley
parent ac02f3128f
commit 749f840d89
2 changed files with 7 additions and 1 deletions

View File

@ -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:

View File

@ -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
}