#433 BYTE is a type, but is unacceptable input to TYPEP

closed-fixed
clisp (525)
5
2007-12-20
2007-12-20
No

The following should return T, but results in error:
(let ((b (byte 1 1)))
(typep b (type-of b)))

1. What is your platform (uname -a on a UNIX system)?
Linux hedwig 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Compiler version? gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

GNU libc version (on GNU/Linux)? libc.so.6

2. Where did you get the sources or binaries? Sourceforge CVS
When? Dec 20, 2007 12:13am
3. How did you build CLISP?
deleted build folder, did cvs update, then:
./configure --build build

4. What is the output of clisp --version?
GNU CLISP 2.43 (2007-11-18) (built 3407126705) (memory 3407126853)
Software: GNU C 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
gcc -g -O2 -Igllib -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNICODE -DNO_TERMCAP_NCURSES -I. -x none -ldl -L/usr/local/lib -lsigsegv -lc
SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY
libsigsegv 2.5
Features:
(REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL
INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES GETTEXT UNICODE
BASE-CHAR=CHARACTER PC386 UNIX)
C Modules: (clisp i18n syscalls regexp)
Installation directory: /home/aneil/src/clisp/build/
User language: ENGLISH
Machine: I686 (I686) hedwig

5. Please supply the full output (copy and paste) of all the error messages, as well as detailed instructions on how to reproduce them.

[1]> (let ((b (byte 1 1)))
(typep b (type-of b)))

*** - TYPEP: invalid type specification BYTE
The following restarts are available:
ABORT :R1 ABORT
Break 1 [2]>

Discussion

  • Sam Steingold

    Sam Steingold - 2007-12-20

    Logged In: YES
    user_id=5735
    Originator: NO

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

     
  • Sam Steingold

    Sam Steingold - 2007-12-20
    • assigned_to: haible --> sds
    • status: open --> closed-fixed
     

Log in to post a comment.