]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Rename file to a more appropriate name
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 17 Oct 2022 10:07:58 +0000 (11:07 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 17 Oct 2022 10:07:58 +0000 (11:07 +0100)
src/client/rspamc.cxx
src/libserver/hyperscan_tools.cxx
src/libserver/symcache/symcache_impl.cxx
src/libutil/CMakeLists.txt
src/libutil/cxx/file_util.cxx [moved from src/libutil/cxx/locked_file.cxx with 99% similarity]
src/libutil/cxx/file_util.hxx [moved from src/libutil/cxx/locked_file.hxx with 98% similarity]

index e1699c20016ed712d7066bb97852f83618f7472a..973bb58a4b2793e3a0b168d0a7405cf25f0a8566 100644 (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
index c861a466881479ae7dd21921192615caff659e50..a2acc0c189deb9d69fee337b22bbb9f6e946308d 100644 (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"
index 961f270ce3a1ad499e2b0f91fed09cfdb5aa8571..c29b9d6d4db60e76dbba6d81514a542b547da242 100644 (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"
index 7b31037206c95fb2f8c31e75f6e0432ee0cbf7a5..d3dd2645408d8da6bbaecba895dade9e8f34098f 100644 (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)
\ No newline at end of file
similarity index 99%
rename from src/libutil/cxx/locked_file.cxx
rename to src/libutil/cxx/file_util.cxx
index c972e1de30faecb465bb103533514eb5ae7baa13..10a91a25143ebcc078f4f559384eeb7b48dc0ba3 100644 (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"
similarity index 98%
rename from src/libutil/cxx/locked_file.hxx
rename to src/libutil/cxx/file_util.hxx
index 507b02762dd95750602436e5d60eb0abad9782f7..c66fd17efef6ef1df875e5aa95145b39d9dcba2d 100644 (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