Hi Cle, > Alexander Burger wrote: > > Hi Cli,
Oops, sorry ;-) I'm back home, and inserted some of your changes (the Makefile, and the Globals, but not the RTLD_LAZY issue). Now I'm wondering why you extended the setting of the 'Home' global in init(), to fall back to the current working directory if the first file argument doesn't contain a usable path pattern. Is this needed on the Mac? IMHO, it does not make sense for the purpose of 'Home' (i.e. being inserted in path names starting with '@'), because it is to make programs independent from the current working directory and find the installation directory when started from arbitrary locations. The other issue, the port conflict, is quite strange: > test/src/net.l also use port 4444, it seems that the port was not > released back to the OS yet, when test/lib.l was running. Therfore it > was still be used and couldn't be bound again. Then we have another bug on the Mac perhaps. On my system, a port can be reused after it was closed: : (port 4444) -> 3 : (port 4444) # Not closing the port !? (port 4444) IP bind error: Address already in use # -> Error ? : (close 3) -> 3 : (port 4444) -> 3 : (close 3) # But closing it -> 3 : (port 4444) # should work -> 3 : (close 3) -> 3 What happens if you try these things in the REPL? Cheers, - Alex -- UNSUBSCRIBE: mailto:[email protected]?subject=unsubscribe
