On Tue, Jul 22, 2003 at 01:59:34PM -0500, Brian Ford wrote: > Just one last clarification. If stuff.exe also calls lseek, it will get > lseek64 at link time, and foo.dll will still use lseek. So, they each > operate seperately, but happily, be it in their respective 64 or 32 bit > world?
Yes. But be aware of trouble. Mostly not with big files (these are seldom) but with uids and gids > 64K. In the above scenario, a call to getuid() in stuff.exe might return the value 65537. In foo.dll, the same uid is returned as 1 (I hope that's obvious). So the application and the dll are acting on different users from their point of view... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc.
