minor tweak from Lewis Girod

This commit is contained in:
bdc 1996-09-26 19:30:22 +00:00
parent a61145fa6a
commit a06f2a9e34
2 changed files with 4 additions and 1 deletions

View File

@ -33,3 +33,6 @@ alist->env didn't work, because it was passing a list, not a vector,
to the %INSTALL-ENV procedure. Reported by Mike Sperber 9/19/96. to the %INSTALL-ENV procedure. Reported by Mike Sperber 9/19/96.
syntactically illegal LET in rw.scm. Reported by jsc 9/23/96. syntactically illegal LET in rw.scm. Reported by jsc 9/23/96.
a semantically incorrect but benign error in syscalls.1c.
Reported by Lewis Girod 12/12/95. Fixed by bdc 9/26/96

View File

@ -127,7 +127,7 @@ char const *scm_readlink(const char *path)
int retval = readlink(path, linkpath, MAXPATHLEN); int retval = readlink(path, linkpath, MAXPATHLEN);
return (char const *) return (char const *)
(retval == -1) ? NULL : ( linkpath[retval] = '\0', linkpath ); ((retval == -1) ? NULL : ( linkpath[retval] = '\0', linkpath ));
} }