From: amosjeffries <> Date: Sat, 19 May 2007 11:03:48 +0000 (+0000) Subject: Fix: Squid does not compile with --enable-storeio=coss X-Git-Tag: SQUID_3_0_PRE7~257 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fce74e25f1415161fc0222f4e6de300589a061ef;p=thirdparty%2Fsquid.git Fix: Squid does not compile with --enable-storeio=coss --- diff --git a/src/DiskIO/AIO/AIODiskFile.cc b/src/DiskIO/AIO/AIODiskFile.cc index e04e112f96..4b88047758 100644 --- a/src/DiskIO/AIO/AIODiskFile.cc +++ b/src/DiskIO/AIO/AIODiskFile.cc @@ -1,6 +1,6 @@ /* - * $Id: AIODiskFile.cc,v 1.4 2007/04/28 22:26:40 hno Exp $ + * $Id: AIODiskFile.cc,v 1.5 2007/05/19 05:03:48 amosjeffries Exp $ * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- @@ -85,10 +85,10 @@ AIODiskFile::open (int flags, mode_t mode, IORequestor::Pointer callback) { /* Simulate async calls */ #ifdef _SQUID_WIN32_ - fd = aio_open(path.buf(), flags); + fd = aio_open(path.c_str(), flags); #else - fd = file_open(path.buf() , flags); + fd = file_open(path.c_str() , flags); #endif ioRequestor = callback;