Switch to unified view

a/src/rcldb/rcldb.cpp b/src/rcldb/rcldb.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: rcldb.cpp,v 1.21 2005-02-08 10:56:12 dockes Exp $ (C) 2004 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: rcldb.cpp,v 1.22 2005-02-08 11:59:08 dockes Exp $ (C) 2004 J.F.Dockes";
3
#endif
3
#endif
4
#include <stdio.h>
4
#include <stdio.h>
5
#include <sys/stat.h>
5
#include <sys/stat.h>
6
6
7
#include <iostream>
7
#include <iostream>
...
...
203
203
204
// Unaccent and lowercase data: use unac 
204
// Unaccent and lowercase data: use unac 
205
// for accents, and do it by hand for upper / lower. Note lowercasing is
205
// for accents, and do it by hand for upper / lower. Note lowercasing is
206
// only for ascii letters anyway, so it's just A-Z -> a-z
206
// only for ascii letters anyway, so it's just A-Z -> a-z
207
// Removing crlfs is so that we can use the text in the document data fields.
207
// Removing crlfs is so that we can use the text in the document data fields.
208
bool dumb_string(const string &in, string &out)
208
bool Rcl::dumb_string(const string &in, string &out)
209
{
209
{
210
    string inter;
210
    string inter;
211
    out.erase();
211
    out.erase();
212
    if (in.empty())
212
    if (in.empty())
213
    return true;
213
    return true;