Re: GOTO in PicoLisp

2012-09-06 Thread Alexander Burger
Hi José, > Because the world wasn't weird enough already I took the liberty to Bravo! That's a valid idea ;) Let me suggest two small changes: > (de prog+ "Prg" >(use ("Thunk" "Ret" "L") > (setq "Thunk" "Prg" "Ret" NIL) > (while Did you have any special reason for 'use'? Other

Re: too many open files?

2012-09-06 Thread Alexander Burger
Hi José, > Why not just: > > (in (list "stat" "-c" "(`(hex \"%f\") %s %u %g %h %i %X %Y %Z)" Path) >(read) ) Nice! Very clever! (PicoLisp-ish ;) Cheers, - Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: too many open files?

2012-09-06 Thread Laurent Artaud
Le 06/09/2012 08:50, José Romero a écrit : Why not just: (in (list "stat" "-c" "(`(hex \"%f\") %s %u %g %h %i %X %Y %Z)" Path) (read) ) :D Wow! It took me at least ten minutes to realize WHY it was working! I can honestly say that I would have NEVER thought to use stat's output format

Re: too many open files?

2012-09-06 Thread Laurent Artaud
Le 06/09/2012 08:01, Alexander Burger a écrit : Hi Laurent, back to your original mail: By the way, if anyone know what lib to use for (native) to make a lstat syscall so I can replace the stat shell call, I'd be very grateful: I can't find where it is! (contrary to what I thought, it is NOT i

Re: too many open files?

2012-09-06 Thread Laurent Artaud
Le 05/09/2012 19:20, Alexander Burger a écrit : On Wed, Sep 05, 2012 at 09:34:10AM +0200, Alexander Burger wrote: I don't have the time at the moment to investigate it further. I hope I can fix it this evening. We need just to insert a call to closedir(). I've uploaded a fix to the code reposi