Browse Source

[Minor] Rename file to a more appropriate name

tags/3.4
Vsevolod Stakhov 1 year ago
parent
commit
14b52f4498
No account linked to committer's email address

+ 1
- 1
src/client/rspamc.cxx View File

@@ -34,7 +34,7 @@
#include "frozen/unordered_map.h"
#include "fmt/format.h"
#include "fmt/color.h"
#include "libutil/cxx/locked_file.hxx"
#include "libutil/cxx/file_util.hxx"
#include "libutil/cxx/util.hxx"

#ifdef HAVE_SYS_WAIT_H

+ 1
- 1
src/libserver/hyperscan_tools.cxx View File

@@ -20,7 +20,7 @@
#include "contrib/ankerl/unordered_dense.h"
#include "contrib/ankerl/svector.h"
#include "fmt/core.h"
#include "libutil/cxx/locked_file.hxx"
#include "libutil/cxx/file_util.hxx"
#include "hs.h"
#include "logger.h"
#include "worker_util.h"

+ 1
- 1
src/libserver/symcache/symcache_impl.cxx View File

@@ -19,7 +19,7 @@
#include "symcache_item.hxx"
#include "symcache_runtime.hxx"
#include "unix-std.h"
#include "libutil/cxx/locked_file.hxx"
#include "libutil/cxx/file_util.hxx"
#include "libutil/cxx/util.hxx"
#include "fmt/core.h"
#include "contrib/t1ha/t1ha.h"

+ 1
- 1
src/libutil/CMakeLists.txt View File

@@ -18,6 +18,6 @@ SET(LIBRSPAMDUTILSRC
${CMAKE_CURRENT_SOURCE_DIR}/heap.c
${CMAKE_CURRENT_SOURCE_DIR}/multipattern.c
${CMAKE_CURRENT_SOURCE_DIR}/cxx/utf8_util.cxx
${CMAKE_CURRENT_SOURCE_DIR}/cxx/locked_file.cxx)
${CMAKE_CURRENT_SOURCE_DIR}/cxx/file_util.cxx)
# Rspamdutil
SET(RSPAMD_UTIL ${LIBRSPAMDUTILSRC} PARENT_SCOPE)

src/libutil/cxx/locked_file.cxx → src/libutil/cxx/file_util.cxx View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "locked_file.hxx"
#include "file_util.hxx"
#include <fmt/core.h>
#include "libutil/util.h"
#include "libutil/unix-std.h"

src/libutil/cxx/locked_file.hxx → src/libutil/cxx/file_util.hxx View File

@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef RSPAMD_LOCKED_FILE_HXX
#define RSPAMD_LOCKED_FILE_HXX
#ifndef RSPAMD_FILE_UTIL_HXX
#define RSPAMD_FILE_UTIL_HXX
#pragma once

#include "config.h"
@@ -258,4 +258,4 @@ private:

}

#endif //RSPAMD_LOCKED_FILE_HXX
#endif //RSPAMD_FILE_UTIL_HXX

Loading…
Cancel
Save