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

2007-09-11 Thread Kaloian Doganov
Mike Gran <[EMAIL PROTECTED]> writes: If it fails again, you should write me directly, as autoconf problems (and my failings as a coder) are off-topic for the list. ;-) I don't have any autoconf problems anymore, thank you. I've just managed to backport your example to Guile 1.6.x. a

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

2007-09-03 Thread Kaloian Doganov
Kevin Ryde <[EMAIL PROTECTED]> writes: If you don't mind breaking out a little C code it shouldn't be too hard. I don't mind, but I'm still clueless about C and don't have any experience in extending Guile with C. -- Protect your digital freedom and privacy, eliminate DRM, learn mo

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

2007-09-03 Thread Kaloian Doganov
Mike Gran <[EMAIL PROTECTED]> writes: I put together something. I've attached the more important source files here for reference, but, the buildable files are in http://lonelycactus.com/getlk-0.0.tar.gz Mike, I really appreciate your help. For me, it does "./configure && mak

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

2007-09-01 Thread Kaloian Doganov
Kevin Ryde <[EMAIL PROTECTED]> writes: It'd need something for "struct flock" (and "struct flock64" when available), they're not plain integers like the other fcntl commands. Yes, currently I don't know how to represent this structure in Guile, even with those define's suggested by ds

(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