Mercurial > hg > xemacs-beta
changeset 951:93e076dd7825
[xemacs-hg @ 2002-08-02 15:35:49 by james]
Correct locate_file documentation: Any nonnegative return value indicates
success if MODE is nonnegative.
author | james |
---|---|
date | Fri, 02 Aug 2002 15:35:54 +0000 |
parents | c1a972caf831 |
children | c10d0c3f965f |
files | src/ChangeLog src/lread.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Fri Aug 02 15:18:46 2002 +0000 +++ b/src/ChangeLog Fri Aug 02 15:35:54 2002 +0000 @@ -1,3 +1,8 @@ +2002-07-29 Jerry James <james@xemacs.org> + + * lread.c (locate_file): Any nonnegative return value indicates + success if MODE is nonnegative. + 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU> * fns.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
--- a/src/lread.c Fri Aug 02 15:18:46 2002 +0000 +++ b/src/lread.c Fri Aug 02 15:35:54 2002 +0000 @@ -1128,7 +1128,7 @@ MODE nonnegative means don't open the files, just look for one for which access(file,MODE) succeeds. In this case, - returns 1 on success. + returns a nonnegative value on success. On failure, returns -1. If STOREPTR is nonzero, it points to a slot where the name of the file actually found should be stored as a Lisp string.