Stefan Scholl <[EMAIL PROTECTED]> wrote:
> | : <inotify> ( -- port/f )
> | H{ } clone
> | inotify_init [ io-error ] [ inotify <buffered-port> ] bi
> | { set-inotify-watches set-delegate } inotify construct ;
Now:
| : <inotify> ( -- port/f )
| H{ } clone
| inotify_init dup 0 < [ 2drop f ] [
| inotify <buffered-port>
| { set-inotify-watches set-delegate } inotify construct
| ] if ;
Thanks! Compiles and starts in listener. Gentoo with Kernel
2.6.12.
GUI isn't working. The window frame seems to be shown for a very
short time, then it's gone. No message in the console.
Direct from listener:
-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----
$ ./factor -run=listener
( scratchpad ) "ui" run
( scratchpad ) :help
memory-error. ( object -- )
Vocabulary
debugger
Error description
Thrown by the Factor VM if an invalid memory access occurs.
Notes
This can be a result of incorrect usage of C library interface words, a bug in
the compiler, or a bug in the VM.
Definition
USING: io prettyprint sequences ;
IN: debugger
: memory-error. ( object -- )
"Memory protection fault at address " write third .h ;
...
( scratchpad ) :s
{ "kernel-error" 15 1 f }
( scratchpad ) :r
( scratchpad ) :c
[ call -> stop ]
[
ui-notify-flag get lower-flag [ update-ui ] ui-try
-> update-ui-loop
]
[ swap >c call -> c> drop ]
[
>r datastack r>
swap slip ->
>r datastack r>
2dup [ length ] compare sgn {
{ -1 [ trim-datastacks nip relative-underflow ] }
{ 0 [ 2drop ] }
{ 1 [ trim-datastacks drop relative-overflow ] }
} case
]
[ >r call -> r> ]
[ iterate-step -> iterate-next (each-integer) ]
[ swap >r 2dup 2slip -> r> swap ]
[ >r >r call -> r> r> ]
[ >r associate >n r> call -> ndrop ]
[ swap >c call -> c> drop ]
(draw-world)
select-gl-context/x11-ui-backend
glXMakeCurrent
[
self error-thread set-global
continuation -> error-continuation set-global rethrow
]
( scratchpad )
-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----
Short flicker, then nothing. (X11 remote to my Mac. So maybe I
miss some details I would see direct on the machine.)
The VPS with Debian Etch and Linux 2.6.9 compiles and starts into
the listener. It's a server without X11.
I can't test andLinx at the moment. No Windows after work. :-)
--
Web (en): http://www.no-spoon.de/ -*- Web (de): http://www.frell.de/
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk