Segmentation fault -> Search using "update"

Started by newdep, August 14, 2004, 01:46:00 AM

Previous topic - Next topic

newdep

Hi Lutz,



Linux 8.1.1



Using a (search outfile "lookmeup") creates a "Segmentation Fault"

on a previous opened file with (set! outfile (open "hello" "update"))



This means that a 'Search can only be used specificly with a "read" ?



> outfile

5

> (search outfile "whereami")

Segmentation fault

bash-2.05b$



Norman.
-- (define? (Cornflakes))

Lutz

#1
Cannot repeat this on good file handles, but most likely you where doing search on an invalid file handle which caused search to 'crash'. I will check for that condition in the next version.



Lutz

Lutz

#2
The 'search' problem is fixed in 8.1.2.



There is also a new 'make install_home' for Nigel to test on Live CD and other distributions for installations without 'root' permissions in the users home directory on Linux/UNIX.



Lutz

newdep

#3
Thanks Lutz indeed I searched on a closed filehandler...
-- (define? (Cornflakes))