SourceForge has been redesigned. Learn more.

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

lisp error
clisp (524)
Adam Warner

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;
- n_char_to_string(string,len,O(pathname_encoding));
+ return n_char_to_string(string,len,O(pathname_encoding));


  • 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\)
    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.