GLib Bug: IO Channel cannot work with files larger that 2GB

2005-11-30 Thread Chris Morrison
Hi all, There seems to be a bug with the IO Channel functions in Glib version 2.8.4 for Windows. This bug prevents seeking in files greater than 2GB in size, i.e. where a 64-bit file pointer would be required. The following snip of code will work if 'file_channel' refers to a file of less than

GLib Bug: IO Channel cannot work with files larger that 2GB

2005-11-30 Thread Tor Lillqvist
Chris Morrison writes: Is this a known bug/issue or am I missing something? Yes. Large file support is missing from the Win32 port. Sorry. It might be possible to do some fixes here and there without needing any new API or breaking ABI, like using _lseeki64() instead of lseek() in giowin32.c.