--- Kaloian Doganov <[EMAIL PROTECTED]> wrote:
> I've just managed to backport your example to Guile 1.6.x. and come
> up
> with the following table of correspondence:
>
> Guile 1.8.xGuile 1.6.x
> -- ---
> scm_is_integer SCM_INUMP
> scm_is_true
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
--- Kaloian Doganov <[EMAIL PROTECTED]> wrote:
> I guess by "Linux" you actually mean GNU/Linux, since the make
> program
> can not run on the bare kernel.
I knew I was going to get in trouble for that the moment I hit "send".
> Unfortunately, the configure script
> fails on my system (gNewSe
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
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
Kaloian-
--- 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:
>
I put together something. I've attached the more important source
files here for reference, but, the bu
Kaloian Doganov <[EMAIL PROTECTED]> writes:
>
> I need to do record (range) locking, not whole-file locking, and I
> hoped to do it with Guile.
If you don't mind breaking out a little C code it shouldn't be too hard.
(I can never remember which types of locks are voluntary or mandatory,
and which
Kevin Ryde <[EMAIL PROTECTED]> wrote:
> 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.
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
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.
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
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
12 matches
Mail list logo