IOhannes m zmoelnig wrote: > On 2013-03-21 09:37, Charles Goyard wrote: > > Note than open_via_file returns int and not off_t, so the > > automagic stuff will fail. > > that's wrong. > the declaration of open64 is: > > int open64(const char *pathname, int oflag,...); > so it returns an int, not an off_t, just like open_via_file().
Yes, I got mixed up somewhere between filehandles and file positions. However, that's true of lseek(), that returns an off_t, when d_soundfile.c uses long. Sorry for the confusion. -- Charles _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
