--------------------- PatchSet 1157 Date: 2005/01/01 20:10:03 Author: serassio Branch: nt Tag: (none) Log: WinAIO fixes Members: src/DiskIO/WinAIO/WinAIODiskFile.cc:1.1.2.2->1.1.2.3 src/DiskIO/WinAIO/Winaio.cc:1.1.2.2->1.1.2.3 Index: squid3/src/DiskIO/WinAIO/WinAIODiskFile.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/DiskIO/WinAIO/Attic/WinAIODiskFile.cc,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- squid3/src/DiskIO/WinAIO/WinAIODiskFile.cc 1 Jan 2005 19:56:22 -0000 1.1.2.2 +++ squid3/src/DiskIO/WinAIO/WinAIODiskFile.cc 1 Jan 2005 20:10:03 -0000 1.1.2.3 @@ -1,6 +1,6 @@ /* - * $Id: WinAIODiskFile.cc,v 1.1.2.2 2005/01/01 19:56:22 serassio Exp $ + * $Id: WinAIODiskFile.cc,v 1.1.2.3 2005/01/01 20:10:03 serassio Exp $ * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- @@ -208,7 +208,7 @@ /* Initiate aio */ if (aio_write(&qe->aq_e_aiocb) < 0) { - fatalf("Aiee! aio_read() returned error (%d) FIXME and wrap file_write !\n", errno); + fatalf("Aiee! aio_write() returned error (%d) FIXME and wrap file_write !\n", errno); debug(79, 1) ("WARNING: aio_write() returned error: %s\n", xstrerror()); } } Index: squid3/src/DiskIO/WinAIO/Winaio.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/DiskIO/WinAIO/Attic/Winaio.cc,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- squid3/src/DiskIO/WinAIO/Winaio.cc 1 Jan 2005 19:56:23 -0000 1.1.2.2 +++ squid3/src/DiskIO/WinAIO/Winaio.cc 1 Jan 2005 20:10:04 -0000 1.1.2.3 @@ -1,6 +1,6 @@ /* - * $Id: Winaio.cc,v 1.1.2.2 2005/01/01 19:56:23 serassio Exp $ + * $Id: Winaio.cc,v 1.1.2.3 2005/01/01 20:10:04 serassio Exp $ * * DEBUG: section 81 aio_xxx() POSIX emulation on WIN32 for COSS * AUTHOR: Guido Serassio @@ -133,9 +133,9 @@ #else - Overlapped->Offset = (DWORD) (aiocbp->aio_offset % 0x100000000LL); + Overlapped->Offset = (DWORD) (aiocbp->aio_offset % 0x100000000); - Overlapped->OffsetHigh = (DWORD) (aiocbp->aio_offset / 0x100000000LL); + Overlapped->OffsetHigh = (DWORD) (aiocbp->aio_offset / 0x100000000); #endif