Re: What is best way to limit memory alloc?

2007-08-31 Thread Kevin Ryde
Roland Orre <[EMAIL PROTECTED]> writes: > >> What is the best way to limit the memory allocation in guile? Perhaps setrlimit would be the most reliable overall. >> I'm still running 1.7 as I haven't got the time and energy >> to change the array implementation yet. I struck a bug lately in 1.8 w

Re: (fcntl fd F_GETLK ...) from Guile

2007-08-31 Thread Kevin Ryde
Kaloian Doganov <[EMAIL PROTECTED]> writes: > > Neighter F_GETLK nor F_SETLK is there. Yep, not there. It'd need something for "struct flock" (and "struct flock64" when available), they're not plain integers like the other fcntl commands. There's `flock' already for whole-file, if that's enough.

Re: (fcntl fd F_GETLK ...) from Guile

2007-08-31 Thread dsmich
Kaloian Doganov <[EMAIL PROTECTED]> wrote: > Is there a way to use fcntl's F_GETLK command from Guile? According > to the docs [1], only the following commands are available: > > F_DUPFD > F_GETFD > F_SETFD > F_GETFL > F_SETFL > F_GETOWN > F_SETOWN > FD_CLOE

(fcntl fd F_GETLK ...) from Guile

2007-08-31 Thread Kaloian Doganov
Is there a way to use fcntl's F_GETLK command from Guile? According to the docs [1], only the following commands are available: F_DUPFD F_GETFD F_SETFD F_GETFL F_SETFL F_GETOWN F_SETOWN FD_CLOEXEC Neighter F_GETLK nor F_SETLK is there. Am I missing something? Ma