fixed typos

This commit is contained in:
freddii
2021-02-04 17:12:22 +01:00
parent c210b27819
commit 89c7efe682
27 changed files with 128 additions and 128 deletions
+3 -3
View File
@@ -34,9 +34,9 @@ using namespace std;
/// Identification of file from contents. This is called for files with
/// unrecognized extensions.
///
/// The system 'file' utility does not always work for us. For exemple
/// The system 'file' utility does not always work for us. For example
/// it will mistake mail folders for simple text files if there is no
/// 'Received' header, which would be the case, for exemple in a
/// 'Received' header, which would be the case, for example in a
/// 'Sent' folder. Also "file -i" does not exist on all systems, and
/// is quite costly to execute.
/// So we first call the internal file identifier, which currently
@@ -99,7 +99,7 @@ static string mimetypefromdata(RclConfig *cfg, const string &fn, bool usfc)
// when 'file' believes that the file name is binary
// xdg-mime only outputs the MIME type.
// If there is no colon and there is a slash, this is hopefuly
// If there is no colon and there is a slash, this is hopefully
// the mime type
if (result.find_first_of(":") == string::npos &&
result.find_first_of("/") != string::npos) {
+2 -2
View File
@@ -288,7 +288,7 @@ public:
// Build a list of things to index, then call purgefiles and/or
// indexfiles. This is basically the same as find xxx | recollindex
// -i [-e] without the find (so, simpler but less powerfull)
// -i [-e] without the find (so, simpler but less powerful)
bool recursive_index(RclConfig *config, const string& top,
const vector<string>& selpats)
{
@@ -363,7 +363,7 @@ static bool createstemdb(RclConfig *config, const string &lang)
return confindexer->createStemDb(lang);
}
// Check that topdir entries are valid (successfull tilde exp + abs
// Check that topdir entries are valid (successful tilde exp + abs
// path) or fail.
// In addition, topdirs, skippedPaths, daemSkippedPaths entries should
// match existing files or directories. Warn if they don't