Receiving multiple lines with g_io_channel_read_line

2005-02-07 Thread Andrew Gatt
Hi, I've had some sucess using g_io_channel_read_line to receive terminated lines from a fifo formed with a server app i wrote. However i need to receive unknown amounts of bytes with line terminators until a final escape character is received, then act on this packet. Is this possible to do in

Re: Memory allocation in Windows error

2005-02-07 Thread Tor Lillqvist
edward hage writes: I wrote a GTK-application in Linux and it works fine. That might just be a coincidence, it might *seem* to work fine, with some input data. Have you run it under valgrind on Linux? Or, download an evaluation copy of Purify or BoundsChecker for Windows and run it under that.

Re: Memory allocation in Windows error

2005-02-07 Thread edward hage
Tor Lillqvist wrote: edward hage writes: I wrote a GTK-application in Linux and it works fine. That might just be a coincidence, it might *seem* to work fine, with some input data. Have you run it under valgrind on Linux? I never tried valgrind, I have it on my computer so just used it. I don't

Re: Compile Line for GnomeVFS Programs.

2005-02-07 Thread Allin Cottrell
On Mon, 7 Feb 2005, Tony Freeman wrote: Every time I try to compile a program that has a #include gnome.h I run into problems. For example: I have just finished typing in the sample program located at: http://developer.gnome.org/doc/API/2.0/gnome-vfs-2.0/gnome-vfs-first-steps.html Now I want to