diff options
author | Tim Barron <tjbarron@google.com> | 2021-10-21 16:01:05 -0700 |
---|---|---|
committer | Tim Barron <tjbarron@google.com> | 2021-10-21 16:01:05 -0700 |
commit | da1b8986e7c873efa45529b8adc4a32490eb9c3c (patch) | |
tree | 1cc9dbe185e88e71c7c82ede8ba02578a36ef78f /icing/file/filesystem.cc | |
parent | 8555f998fccca3aea3f6f67d44fce04775ddea97 (diff) | |
download | icing-da1b8986e7c873efa45529b8adc4a32490eb9c3c.tar.gz |
Sync from upstream.
Descriptions:
================
Replace refs to c lib headers w/ c++ stdlib equivalents.
================
Update IDF component of BM25F Calculator in IcingLib
================
Expose QuerySuggestions API.
================
Change the tokenizer used in QuerySuggest.
================
Add SectionWeights API to Icing.
================
Apply SectionWeights to BM25F Scoring.
================
Replaces uses of u_strTo/FromUTF32 w/ u_strTo/FromUTF8.
Bug: 152934343
Bug: 202308641
Bug: 203700301
Change-Id: Ic884a84e5ff4c9c04b2cd6dd1fce90765aa4446e
Diffstat (limited to 'icing/file/filesystem.cc')
-rw-r--r-- | icing/file/filesystem.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icing/file/filesystem.cc b/icing/file/filesystem.cc index 0655cb9..82b8d98 100644 --- a/icing/file/filesystem.cc +++ b/icing/file/filesystem.cc @@ -16,7 +16,6 @@ #include <dirent.h> #include <dlfcn.h> -#include <errno.h> #include <fcntl.h> #include <fnmatch.h> #include <pthread.h> @@ -26,6 +25,7 @@ #include <unistd.h> #include <algorithm> +#include <cerrno> #include <cstdint> #include <unordered_set> |