adjust-array ignores :initial-element
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
High
|
Unassigned |
Bug Description
1. A description of what you do, what happens, and what you expected to happen.
sbcl --no-userinit
This is SBCL 1.1.3, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (let ((a (make-array 1
:adjustable nil
#(:A 0)
*
Expected: #(:A :B). Compare to 1.0.57:
/usr/bin/sbcl --no-userinit
This is SBCL 1.0.57.0.debian, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (let ((a (make-array 1
:adjustable nil
#(:A :B)
*
2. SBCL version as reported by "sbcl --version"
See above.
3. Output from uname -a.
Linux ferberit 3.5.0-19-generic #30-Ubuntu SMP Tue Nov 13 17:49:53 UTC 2012 i686 i686 i686 GNU/Linux
4. *FEATURES*.
1.1.3:
(:ALIEN-CALLBACKS :ANSI-CL :C-STACK-
:COMPARE-
:INLINE-CONSTANTS :LARGEFILE :LINKAGE-TABLE :LINUX :LITTLE-ENDIAN
:MEMORY-
:OS-PROVIDES-
:OS-PROVIDES-POLL :OS-PROVIDES-PUTWC :OS-PROVIDES-
:RAW-INSTANCE-
:SB-LDB :SB-PACKAGE-LOCKS :SB-SOURCE-
:SBCL :STACK-
:STACK-
:STACK-
1.0.57:
(:X86 :UNIX :ELF :LINUX :LARGEFILE :GENCGC :STACK-
:C-STACK-
:RAW-INSTANCE-
:STACK-
:CYCLE-COUNTER :INLINE-CONSTANTS :MEMORY-
:LINKAGE-TABLE :LITTLE-ENDIAN :OS-PROVIDES-DLOPEN :OS-PROVIDES-DLADDR
:OS-PROVIDES-PUTWC :OS-PROVIDES-
:OS-PROVIDES-
:SB-SOURCE-
:SB-DOC :SBCL :COMMON-LISP :ANSI-CL :SB-CORE-
Changed in sbcl: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Stas Boukarev (stassats) |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
One more data point:
sbcl --no-userinit www.sbcl. org/>.
This is SBCL 1.1.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://
SBCL is free software, provided as is, with absolutely no warranty.
:fill- pointer nil
:initial- element :a)))
(adjust- array a 2 :initial-element :b))
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (let ((a (make-array 1
:adjustable nil
#(:A :B) IS-CONTROL- STACK :COMMON-LISP AND-SWAP- VOPS :COMPLEX-FLOAT-VOPS :CYCLE-COUNTER :ELF :FLOAT-EQL-VOPS POINT :INLINE-CONSTANTS :LARGEFILE :LINKAGE-TABLE BARRIER- VOPS :MULTIPLY-HIGH-VOPS PROVIDES- BLKSIZE- T :OS-PROVIDES-DLADDR :OS-PROVIDES-DLOPEN PROVIDES- GETPROTOBY- R :OS-PROVIDES-POLL :OS-PROVIDES-PUTWC PROVIDES- SUSECONDS- T :RAW-INSTANCE- INIT-VOPS :SB-CORE- COMPRESSION :SB-DOC LOCATIONS :SB-TEST ALLOCATABLE- CLOSURES ALLOCATABLE- FIXED-OBJECTS :STACK- ALLOCATABLE- LISTS ALLOCATABLE- VECTORS :STACK- GROWS-DOWNWARD- NOT-UPWARD :UNIX TO-FRAME- AND-CALL- VOP :X86-64)
* *features*
(:ALIEN-CALLBACKS :ANSI-CL :C-STACK-
:COMPARE-
:GENCGC :IEEE-FLOATING-
:LINUX :LITTLE-ENDIAN :MEMORY-
:OS-
:OS-
:OS-
:SB-EVAL :SB-FUTEX :SB-LDB :SB-PACKAGE-LOCKS :SB-SOURCE-
:SB-THREAD :SB-UNICODE :SBCL :STACK-
:STACK-
:STACK-
:UNWIND-