* dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t
throughout. * fhandler.cc: Ditto. * fhandler.h: Ditto. * fhandler_clipboard.cc: Ditto. * fhandler_disk_file.cc: Ditto. * fhandler_dsp.cc: Ditto. * fhandler_floppy.cc: Ditto. * fhandler_mem.cc: Ditto. * fhandler_proc.cc: Ditto. * fhandler_process.cc: Ditto. * fhandler_random.cc: Ditto. * fhandler_registry.cc: Ditto. * fhandler_tape.cc: Ditto. * fhandler_termios.cc: Ditto. * fhandler_virtual.cc: Ditto. * fhandler_zero.cc: Ditto. * mmap.cc: Ditto. * pipe.cc: Ditto. * syscalls.cc: Ditto. * winsup.h: Ditto. * include/cygwin/stat.h: Ditto. * include/cygwin/types.h: Ditto. Remove definition of __off32_t and __off64_t.
This commit is contained in:
@@ -236,8 +236,8 @@ fhandler_dev_mem::close (void)
|
||||
return fhandler_base::close ();
|
||||
}
|
||||
|
||||
__off64_t
|
||||
fhandler_dev_mem::lseek (__off64_t offset, int whence)
|
||||
_off64_t
|
||||
fhandler_dev_mem::lseek (_off64_t offset, int whence)
|
||||
{
|
||||
switch (whence)
|
||||
{
|
||||
@@ -270,7 +270,7 @@ fhandler_dev_mem::lseek (__off64_t offset, int whence)
|
||||
|
||||
HANDLE
|
||||
fhandler_dev_mem::mmap (caddr_t *addr, size_t len, DWORD access,
|
||||
int flags, __off64_t off)
|
||||
int flags, _off64_t off)
|
||||
{
|
||||
if (off >= mem_size
|
||||
|| (DWORD) len >= mem_size
|
||||
|
Reference in New Issue
Block a user