# HG changeset patch # User james # Date 1028302554 0 # Node ID 93e076dd78259e18b0ac6bf143a18cf66f4dd340 # Parent c1a972caf831541d976ef61d63de7987f0c1d29b [xemacs-hg @ 2002-08-02 15:35:49 by james] Correct locate_file documentation: Any nonnegative return value indicates success if MODE is nonnegative. diff -r c1a972caf831 -r 93e076dd7825 src/ChangeLog --- 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 + + * lread.c (locate_file): Any nonnegative return value indicates + success if MODE is nonnegative. + 2002-08-03 Brian A Palmer * fns.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required diff -r c1a972caf831 -r 93e076dd7825 src/lread.c --- 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.