Problems with run-process and hash-tables

From: Giorgio Cesana <cesana_at_venus.sgs-thomson.it>
Date: Fri, 17 Mar 1995 17:52:28 +0100

Hi,

errors occurrs when using run-process improperly.

Typing a wrong statment, I obtain

STk> (run-process "schifnl" :output)
ld.so.1: /MAMMUTHe/merlino/PRODUCTS/uk-2.0/bin.sparc-solaris2/uk-stk: fatal: relocation error: symbol not found: Err: referenced in /MAMMUTHe/merlino/PRODUCTS/uk-2.0/STk/SunOS-5.4-sun4m/process.so
Killed

I know something is missing, but I would like not to have a crash in order to
debug my code.


CALL FOR IMPROVEMENTS

Actually it is not possible to specify the same filename to redirect both
standard output and error. During the initialization phase, two files are opened,
even if they have the same full-path-name. This causes some output to be lost.
Is it possible to add a check to share those two output files?

Note: actually the system allows the user to specify the same filename also
as :input. This should be avoided.


HASH-TABLES

Actually, the following calls causes a crash:

STk> (define ht (make-hash-table))
#[undefined]
STk> (hash-table-get ht 'test)
ld.so.1: /MAMMUTHe/merlino/PRODUCTS/uk-2.0/bin.sparc-solaris2/uk-stk: fatal: relocation error: symbol not found: Err: referenced in /MAMMUTHe/merlino/PRODUCTS/uk-2.0/STk/SunOS-5.4-sun4m/hash.so
Killed

while using (hash-table-get ht 'test #f) (having added a default value), no
errors occurrs. Is it possible to add a default default ;-> value when not
specified by the user?

Thanks a lot

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 cesana_at_venus.sgs-thomson.it | 20041 Agrate B.za (MI) - ITALY
Received on Fri Mar 17 1995 - 18:54:49 CET

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