How to handle files with sizes 32bit?

2009-01-23 Thread Dan Ium
Hello, I am trying to get my GTK programs to work on both linux and windows without any modification. So far the only thing I don't have working is 64bit file size support. It seems that in linux ftello64 does not work, it always returns 0. Also fseeko64 never seeks beyond a 2GB position, and

Re: How to handle files with sizes 32bit?

2009-01-23 Thread Miroslav Rajcic
I myself am using lower level functions like open, read, ... instead of methods that use FILE structure. When opening the file be sure to pass O_LARGEFILE flag. Regards, Miroslav - Original Message - From: Dan Ium dac...@gmail.com To: gtk-app-devel-list@gnome.org Sent: Friday,

Re: How to handle files with sizes 32bit?

2009-01-23 Thread jcupitt
2009/1/23 Dan Ium dac...@gmail.com: It seems that in linux ftello64 does not work, it always returns 0. Also fseeko64 never seeks beyond a 2GB position, and fopen fails to open files over 4GB. There's nothing to do on linux to get large file support. Just put: AC_SYS_LARGEFILE in your

GTK+ 2.15.1 released

2009-01-23 Thread Matthias Clasen
GTK+ 2.15.1 is now available for download at: http://download.gnome.org/sources/gtk+/2.15/ gtk+-2.15.1.tar.bz2 md5sum: 08bd30294bec395078a2554d642d3b2d gtk+-2.15.1.tar.gz md5sum: a6f76fb01dfa035b21577bc426307072 This is another development release leading up to GTK+ 2.16. Notes: * This

sharath jagannath - Dell Video Chat

2009-01-23 Thread sharath jagannath
Your friend sharath jagannath would like to invite you to join the Dell Video Chat powered by SightSpeed, so that the two of you can talk for free over the Internet! Click this https://secure.sightspeed.com/current/i/6a443ac61d2e792a/en_US/ to sign up now With Dell Video Chat powered by

Re: g_malloc overhead

2009-01-23 Thread Larry Reaves
On Tue, 2009-01-20 at 09:01 +0100, Martín Vales wrote: BJörn Lindqvist escribió: Actually, a custom allocator could be useful even in the general case. Malloc is a system call and has quite bad performance on certain platforms (windows in particular i think). Something like the gslice

Re: g_malloc overhead

2009-01-23 Thread Liam R E Quin
On Mon, 2009-01-19 at 18:43 +0100, BJörn Lindqvist wrote: Actually, a custom allocator could be useful even in the general case. Malloc is a system call and has quite bad performance on certain platforms (windows in particular i think). Something like the gslice allocator could Probably

Re: g_malloc overhead

2009-01-23 Thread Liam R E Quin
On Wed, 2009-01-21 at 10:21 +0100, BJörn Lindqvist wrote: 2009/1/21 Liam R E Quin l...@holoweb.net: On Mon, 2009-01-19 at 18:43 +0100, BJörn Lindqvist wrote: Actually, a custom allocator could be useful even in the general case. Malloc is a system call and has quite bad performance on

GTK+ 2.15.1 released

2009-01-23 Thread Matthias Clasen
GTK+ 2.15.1 is now available for download at: http://download.gnome.org/sources/gtk+/2.15/ gtk+-2.15.1.tar.bz2 md5sum: 08bd30294bec395078a2554d642d3b2d gtk+-2.15.1.tar.gz md5sum: a6f76fb01dfa035b21577bc426307072 This is another development release leading up to GTK+ 2.16. Notes: * This