Some little bugs in STk 3.1

From: <giorgio.cesana_at_st.com>
Date: Thu, 1 Aug 1996 10:46:38 +0200

I have got and compiled STk 3.1 on an Ultra1 with Solaris 2.5 and I found
the following problems:

1) Lib/Makefile
   There are no *.stklos files, so the make install fails. You should remove
   the *.stklos entry from the install: section.
   
2) Lib/posix.stk
   The backward compatibility definition is wrong. The right one should be:
   (define posix-access posix-access?)

3) Tk/unix/Makefile
   Includes for X11 are defined but not used. This cause errors with some
   OS configuration. It should be better to use it by defining:
   CC_SWITCHES = $(STKCFLAGS) $(DFLGS) $(ALLOC) ${CFLAGS} -I${UNIX_DIR} \
                -I${GENERIC_DIR} ${X11_INCLUDES} \
                -I../../Tcl -I../../Src -I${BMAP_DIR} -I${TCL_DIR} \
                ${AC_FLAGS} ${PROTO_FLAGS} ${SECURITY_FLAGS} \
                ${MEM_DEBUG_FLAGS} ${KEYSYM_FLAGS}

During the execution I have noticed some strange behaviours in the (quit)
function. Sometimes it works fine, some others it causes stk to freeze
(sometimes it freezes also my CDE Window Manager), in some cases I am getting
error messages. An example:
> stk
Welcome to the STk interpreter version 3.1 [SunOS-5.5-sun4]
Copyright 1993-1996 Erick Gallesio - I3S - CNRS / ESSI <eg_at_unice.fr>
STk> (load "compo-demo.stklos")
#[undefined]
STk> (quit)
 
*** Error:
apply: bad generic function: #[<button> e2d30]

Note: in that demo instead of using the (quit) function, it was used:
(destroy *root*).

Has something changed, or is it a bug?

Thanks, regards

Giorgio

!-----------------------------------------------------------------------
Giorgio Cesana | SGS-THOMSON Microelectronics
phone +39/39/603.6006 | Central R&D - DAIS
fax +39/39/603.5820 | via C. Olivetti, 2
e-mail giorgio.cesana_at_st.com | 20041 Agrate B.za (MI) - ITALY
Received on Thu Aug 01 1996 - 10:49:35 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST