Hia,
'df_layer /dev/video0' crashes in pipe_peek() on my machine: size_t is never <
0, see patch.
Index: stream.c
===================================================================
RCS file: /cvs/directfb/DirectFB/lib/direct/stream.c,v
retrieving revision 1.5
diff -u -r1.5 stream.c
--- stream.c 26 Sep 2005 10:27:54 -0000 1.5
+++ stream.c 14 Dec 2005 12:47:06 -0000
@@ -1045,7 +1045,7 @@
s = read( stream->fd,
stream->cache + stream->cache_size,
len - stream->cache_size );
- if (s < 0) {
+ if (s == -1) {
if (errno != EAGAIN || stream->cache_size == 0)
return errno2result( errno );
s = 0;
Cheers,
Rob
--
I explode like a bomb. No-one is spared.
My power is my mass times the speed of light squared.
- MC Hawking
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev