mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 01:44:13 +08:00
mdbx: remove UTF8-BOM (preparation for 'make dist').
Change-Id: I2d0ccc9f7bbed6d57b2fe6ef156f33531a4eeb69
This commit is contained in:
parent
be72cd81dc
commit
e7095e9ada
@ -1,4 +1,4 @@
|
|||||||
##
|
##
|
||||||
## Copyright 2019 Leonid Yuriev <leo@yuriev.ru>
|
## Copyright 2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
## and other libmdbx authors: please see AUTHORS file.
|
## and other libmdbx authors: please see AUTHORS file.
|
||||||
## All rights reserved.
|
## All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
## Copyright (c) 2012-2019 Leonid Yuriev <leo@yuriev.ru>.
|
## Copyright (c) 2012-2019 Leonid Yuriev <leo@yuriev.ru>.
|
||||||
##
|
##
|
||||||
## Licensed under the Apache License, Version 2.0 (the "License");
|
## Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
## you may not use this file except in compliance with the License.
|
## you may not use this file except in compliance with the License.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
## Copyright (c) 2012-2019 Leonid Yuriev <leo@yuriev.ru>.
|
## Copyright (c) 2012-2019 Leonid Yuriev <leo@yuriev.ru>.
|
||||||
##
|
##
|
||||||
## Licensed under the Apache License, Version 2.0 (the "License");
|
## Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
## you may not use this file except in compliance with the License.
|
## you may not use this file except in compliance with the License.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
## Copyright (c) 2012-2019 Leonid Yuriev <leo@yuriev.ru>.
|
## Copyright (c) 2012-2019 Leonid Yuriev <leo@yuriev.ru>.
|
||||||
##
|
##
|
||||||
## Licensed under the Apache License, Version 2.0 (the "License");
|
## Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
## you may not use this file except in compliance with the License.
|
## you may not use this file except in compliance with the License.
|
||||||
|
2
mdbx.h
2
mdbx.h
@ -1,4 +1,4 @@
|
|||||||
/* LICENSE AND COPYRUSTING *****************************************************
|
/* LICENSE AND COPYRUSTING *****************************************************
|
||||||
*
|
*
|
||||||
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
##
|
##
|
||||||
## Copyright 2019 Leonid Yuriev <leo@yuriev.ru>
|
## Copyright 2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
## and other libmdbx authors: please see AUTHORS file.
|
## and other libmdbx authors: please see AUTHORS file.
|
||||||
## All rights reserved.
|
## All rights reserved.
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
/* *INDENT-OFF* */
|
/* This is CMake-template for libmdbx's config.h
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
/* *INDENT-OFF* */
|
||||||
/* clang-format off */
|
/* clang-format off */
|
||||||
|
|
||||||
#cmakedefine HAVE_VALGRIND_MEMCHECK_H
|
#cmakedefine HAVE_VALGRIND_MEMCHECK_H
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* https://en.wikipedia.org/wiki/Operating_system_abstraction_layer */
|
/* https://en.wikipedia.org/wiki/Operating_system_abstraction_layer */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* https://en.wikipedia.org/wiki/Operating_system_abstraction_layer */
|
/* https://en.wikipedia.org/wiki/Operating_system_abstraction_layer */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
|
@ -1,16 +1,5 @@
|
|||||||
/*
|
/* This is CMake-template for libmdbx's version.c
|
||||||
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
******************************************************************************/
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted only as authorized by the OpenLDAP
|
|
||||||
* Public License.
|
|
||||||
*
|
|
||||||
* A copy of this license is available in the file LICENSE in the
|
|
||||||
* top-level directory of the distribution or, alternatively, at
|
|
||||||
* <http://www.OpenLDAP.org/license.html>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "internals.h"
|
#include "internals.h"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
set(MDBX_TOOLS
|
set(MDBX_TOOLS
|
||||||
mdbx_chk
|
mdbx_chk
|
||||||
mdbx_copy
|
mdbx_copy
|
||||||
mdbx_dump
|
mdbx_dump
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* mdbx_load.c - memory-mapped database load tool */
|
/* mdbx_load.c - memory-mapped database load tool */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2015-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_std_17 HAS_CXX17)
|
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_std_17 HAS_CXX17)
|
||||||
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_std_14 HAS_CXX14)
|
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_std_14 HAS_CXX14)
|
||||||
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_relaxed_constexpr HAS_RELAXED_CONSTEXPR)
|
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_relaxed_constexpr HAS_RELAXED_CONSTEXPR)
|
||||||
if(NOT DEFINED MDBX_CXX_STANDARD)
|
if(NOT DEFINED MDBX_CXX_STANDARD)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "test.h"
|
#include "test.h"
|
||||||
|
|
||||||
void testcase_copy::copy_db(const bool with_compaction) {
|
void testcase_copy::copy_db(const bool with_compaction) {
|
||||||
int err = osal_removefile(copy_pathname);
|
int err = osal_removefile(copy_pathname);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "test.h"
|
#include "test.h"
|
||||||
|
|
||||||
bool testcase_try::run() {
|
bool testcase_try::run() {
|
||||||
db_open();
|
db_open();
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2017-2019 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user