Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PocoDoc: search support #4494

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
4 changes: 2 additions & 2 deletions Foundation/include/Poco/StreamCopier.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static std::streamsize copyStreamRangeUnbuffered(std::istream& istr, std::ostrea
T len = 0;
if (istr)
{
istr.seekg(rangeStart);
istr.seekg(rangeStart, std::ios_base::beg);
istr.read(buffer.begin(), bufferSize);
std::streamsize n = istr.gcount();
while (n > 0)
Expand Down Expand Up @@ -209,7 +209,7 @@ static std::streamsize copyStreamRangeUnbuffered(std::istream& istr, std::ostrea
char c = 0;
if (istr)
{
istr.seekg(rangeStart);
istr.seekg(rangeStart, std::ios_base::beg);
istr.get(c);
while (istr && ostr && (len < rangeLength))
{
Expand Down
6 changes: 5 additions & 1 deletion PocoDoc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ objects = DocWriter PocoDoc

target = PocoDoc
target_version = 1
target_libs = PocoCppParser PocoFoundation PocoXML PocoUtil
target_libs = PocoCppParser PocoDataSQLite PocoData PocoFoundation PocoXML PocoUtil

ifdef POCO_ENABLE_SQLITE_FTS5
CXXFLAGS += -DPOCO_ENABLE_SQLITE_FTS5
endif

include $(POCO_BASE)/build/rules/exec
Loading