On Tue, Jul 31, 2012 at 02:34:03PM +0200, Angelo Haller wrote : > + long l_buffer = st.st_size; Sure that st_size is long and not off_t ? Best regards, -- Jean-Baptiste Kempf http://www.jbkempf.com/ - +33 672 704 734 Sent from my Electronic Device