#360 ADJUST-ARRAY on non-adjustable vectors

closed-fixed
Sam Steingold
clisp (525)
5
2006-08-11
2006-08-10
Sam Steingold
No

http://article.gmane.org/gmane.lisp.clisp.general/11365

The CLHS page for ADJUST-ARRAY says:

An error of type error is signaled if fill-pointer
is supplied and
non-nil but array has no fill pointer.

However, CLISP says:

[1]> (lisp-implementation-version)
"2.39 (2006-07-16) (built 3364196085) (memory
3364203222)"
[2]> "foo"
"foo"
[3]> (array-has-fill-pointer-p *)
NIL
[4]> (adjust-array ** 3 :fill-pointer t)
"foo"
[5]> (array-has-fill-pointer-p *)
T

Discussion

  • Sam Steingold
    Sam Steingold
    2006-08-11

    • status: open --> closed-fixed
     
  • Sam Steingold
    Sam Steingold
    2006-08-11

    Logged In: YES
    user_id=5735

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