From b1d299b35ba6ea18545c059651d4b79f5fdd4aa5 Mon Sep 17 00:00:00 2001 From: Jim Huang Date: Sun, 23 Jun 2019 19:53:34 +0800 Subject: [PATCH] Clarify top-level license file To be consistent with other Microsoft open source projects, each source file points to the file "LICENSE" in top-level directory. --- doc/mimalloc-doc.h | 2 +- include/mimalloc-atomic.h | 2 +- include/mimalloc-internal.h | 2 +- include/mimalloc-types.h | 2 +- include/mimalloc.h | 2 +- src/alloc-aligned.c | 2 +- src/alloc-override-osx.c | 4 ++-- src/alloc-override-win.c | 2 +- src/alloc-override.c | 2 +- src/alloc.c | 2 +- src/heap.c | 2 +- src/init.c | 2 +- src/options.c | 2 +- src/os.c | 2 +- src/page-queue.c | 2 +- src/page.c | 2 +- src/segment.c | 2 +- src/static.c | 2 +- src/stats.c | 2 +- 19 files changed, 20 insertions(+), 20 deletions(-) diff --git a/doc/mimalloc-doc.h b/doc/mimalloc-doc.h index a8a22000..184e5c5b 100644 --- a/doc/mimalloc-doc.h +++ b/doc/mimalloc-doc.h @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #error "documentation file only!" diff --git a/include/mimalloc-atomic.h b/include/mimalloc-atomic.h index d46e8515..014bd435 100644 --- a/include/mimalloc-atomic.h +++ b/include/mimalloc-atomic.h @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #pragma once #ifndef __MIMALLOC_ATOMIC_H diff --git a/include/mimalloc-internal.h b/include/mimalloc-internal.h index 029c2350..9b6e087d 100644 --- a/include/mimalloc-internal.h +++ b/include/mimalloc-internal.h @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #pragma once #ifndef __MIMALLOC_INTERNAL_H diff --git a/include/mimalloc-types.h b/include/mimalloc-types.h index 6fa82810..9a30f796 100644 --- a/include/mimalloc-types.h +++ b/include/mimalloc-types.h @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #pragma once #ifndef __MIMALLOC_TYPES_H diff --git a/include/mimalloc.h b/include/mimalloc.h index 84a46b23..8ffa7bb1 100644 --- a/include/mimalloc.h +++ b/include/mimalloc.h @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #pragma once #ifndef __MIMALLOC_H diff --git a/src/alloc-aligned.c b/src/alloc-aligned.c index e6500805..a1bd563a 100644 --- a/src/alloc-aligned.c +++ b/src/alloc-aligned.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" diff --git a/src/alloc-override-osx.c b/src/alloc-override-osx.c index 83211d35..7e263981 100644 --- a/src/alloc-override-osx.c +++ b/src/alloc-override-osx.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" @@ -226,4 +226,4 @@ static void __attribute__((constructor)) _mi_macosx_override_malloc() } } -#endif // MI_MALLOC_OVERRIDE \ No newline at end of file +#endif // MI_MALLOC_OVERRIDE diff --git a/src/alloc-override-win.c b/src/alloc-override-win.c index fc507770..0971449c 100644 --- a/src/alloc-override-win.c +++ b/src/alloc-override-win.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" diff --git a/src/alloc-override.c b/src/alloc-override.c index af731ec8..38e3bfe1 100644 --- a/src/alloc-override.c +++ b/src/alloc-override.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #if !defined(MI_IN_ALLOC_C) diff --git a/src/alloc.c b/src/alloc.c index 910fa76e..714181a7 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" #include "mimalloc-internal.h" diff --git a/src/heap.c b/src/heap.c index d4cf2535..9ff46296 100644 --- a/src/heap.c +++ b/src/heap.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" diff --git a/src/init.c b/src/init.c index 6c0e8658..3d61a897 100644 --- a/src/init.c +++ b/src/init.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" #include "mimalloc-internal.h" diff --git a/src/options.c b/src/options.c index 3a22de5c..dfe306de 100644 --- a/src/options.c +++ b/src/options.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" #include "mimalloc-internal.h" diff --git a/src/os.c b/src/os.c index 423617a6..50fa8d0f 100644 --- a/src/os.c +++ b/src/os.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #ifndef _DEFAULT_SOURCE #define _DEFAULT_SOURCE // ensure mmap flags are defined diff --git a/src/page-queue.c b/src/page-queue.c index fdd5b010..4d3547a3 100644 --- a/src/page-queue.c +++ b/src/page-queue.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ /* ----------------------------------------------------------- diff --git a/src/page.c b/src/page.c index 17ebdd33..85b810e1 100644 --- a/src/page.c +++ b/src/page.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ /* ----------------------------------------------------------- diff --git a/src/segment.c b/src/segment.c index c651c189..e189ca1d 100644 --- a/src/segment.c +++ b/src/segment.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" #include "mimalloc-internal.h" diff --git a/src/static.c b/src/static.c index 46887376..b4378b43 100644 --- a/src/static.c +++ b/src/static.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #define _DEFAULT_SOURCE diff --git a/src/stats.c b/src/stats.c index b7295dd0..807ef5f0 100644 --- a/src/stats.c +++ b/src/stats.c @@ -2,7 +2,7 @@ Copyright (c) 2018, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file -"license.txt" at the root of this distribution. +"LICENSE" at the root of this distribution. -----------------------------------------------------------------------------*/ #include "mimalloc.h" #include "mimalloc-internal.h"