This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Corinna Vinschen <vinschen at redhat dot com>


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:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]