Menu

#506 [PATCH] fix return value of direntry_to_string with 8-bit ch

lisp error
closed-fixed
clisp (524)
5
2008-10-29
2008-10-29
Adam Warner
No

Fix --without-unicode build failure patch (bug #2175937) by inserting an explicit return statement.

diff --git a/src/pathname.d b/src/pathname.d
index 9e9e1c7..c7a5a91 100644
--- a/src/pathname.d
+++ b/src/pathname.d
@@ -7253,7 +7253,7 @@ local maygc object direntry_to_string (char* string, int len) {
if (eq(T,value2)) O(pathname_encoding) = encoding; /* STORE-VALUE restart */
goto restart_direntry_to_string;
#else
- n_char_to_string(string,len,O(pathname_encoding));
+ return n_char_to_string(string,len,O(pathname_encoding));
#endif
}

Discussion

  • Sam Steingold

    Sam Steingold - 2008-10-29
    • milestone: --> lisp error
    • assigned_to: haible --> sds
    • status: open --> closed-fixed
     
  • Sam Steingold

    Sam Steingold - 2008-10-29

    thank you for your bug report.
    the bug has been fixed in the CVS tree.
    you can either wait for the next release (recommended)
    or check out the current CVS tree (see http://clisp.cons.org\)
    and build CLISP from the sources (be advised that between
    releases the CVS tree is very unstable and may not even build
    on your platform).

     

Log in to post a comment.