diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-08 12:22:52 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-08 12:22:52 (GMT) |
commit | 352ac919116aa49cdae48daa5d6861089ddd6055 (patch) | |
tree | 0de8bdc99b2136babd8a69eb15a127c59ef0f792 /src/definition.cpp | |
parent | 7d4f5205482b0f0212707d573c8c668a0125cc9f (diff) | |
download | Doxygen-352ac919116aa49cdae48daa5d6861089ddd6055.zip Doxygen-352ac919116aa49cdae48daa5d6861089ddd6055.tar.gz Doxygen-352ac919116aa49cdae48daa5d6861089ddd6055.tar.bz2 |
Renamed Portables to Portable
Diffstat (limited to 'src/definition.cpp')
-rw-r--r-- | src/definition.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index ee08e93..86f8789 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -744,12 +744,12 @@ class FilterCache // file already processed, get the results after filtering from the tmp file Debug::print(Debug::FilterOutput,0,"Reusing filter result for %s from %s at offset=%d size=%d\n", qPrint(fileName),qPrint(Doxygen::filterDBFileName),(int)item->filePos,(int)item->fileSize); - f = Portables::fopen(Doxygen::filterDBFileName,"rb"); + f = Portable::fopen(Doxygen::filterDBFileName,"rb"); if (f) { bool success=TRUE; str.resize(item->fileSize+1); - if (Portables::fseek(f,item->filePos,SEEK_SET)==-1) + if (Portable::fseek(f,item->filePos,SEEK_SET)==-1) { err("Failed to seek to position %d in filter database file %s\n",(int)item->filePos,qPrint(Doxygen::filterDBFileName)); success=FALSE; @@ -780,8 +780,8 @@ class FilterCache // filter file QCString cmd=filter+" \""+fileName+"\""; Debug::print(Debug::ExtCmd,0,"Executing popen(`%s`)\n",qPrint(cmd)); - f = Portables::popen(cmd,"r"); - FILE *bf = Portables::fopen(Doxygen::filterDBFileName,"a+b"); + f = Portable::popen(cmd,"r"); + FILE *bf = Portable::fopen(Doxygen::filterDBFileName,"a+b"); FilterCacheItem *item = new FilterCacheItem; item->filePos = m_endPos; if (bf==0) @@ -790,7 +790,7 @@ class FilterCache err("Error opening filter database file %s\n",qPrint(Doxygen::filterDBFileName)); str.addChar('\0'); delete item; - Portables::pclose(f); + Portable::pclose(f); return FALSE; } // append the filtered output to the database file @@ -806,7 +806,7 @@ class FilterCache qPrint(Doxygen::filterDBFileName),bytesWritten,bytesRead); str.addChar('\0'); delete item; - Portables::pclose(f); + Portable::pclose(f); fclose(bf); return FALSE; } @@ -821,14 +821,14 @@ class FilterCache qPrint(fileName),qPrint(Doxygen::filterDBFileName),(int)item->filePos,(int)item->fileSize); // update end of file position m_endPos += size; - Portables::pclose(f); + Portable::pclose(f); fclose(bf); } else // no filtering { // normal file //printf("getFileContents(%s): no filter\n",qPrint(fileName)); - f = Portables::fopen(fileName,"r"); + f = Portable::fopen(fileName,"r"); while (!feof(f)) { int bytesRead = fread(buf,1,blockSize,f); |