summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2019-07-10 16:27:38 (GMT)
committerGitHub <noreply@github.com>2019-07-10 16:27:38 (GMT)
commitf117d871c467e82d98b127fd77d2542600d67c39 (patch)
treefc1f6d599cf4af5ef0cf82d391d1e7b27714840a
parent4749dbe54cfbcae64a06da2623e44f4017032207 (diff)
downloadcpython-f117d871c467e82d98b127fd77d2542600d67c39.zip
cpython-f117d871c467e82d98b127fd77d2542600d67c39.tar.gz
cpython-f117d871c467e82d98b127fd77d2542600d67c39.tar.bz2
Rename memory.c to mpalloc.c for consistency with the header file. (#14687)
-rw-r--r--Modules/_decimal/libmpdec/README.txt2
-rw-r--r--Modules/_decimal/libmpdec/mpalloc.c (renamed from Modules/_decimal/libmpdec/memory.c)0
-rw-r--r--PCbuild/_decimal.vcxproj2
-rw-r--r--PCbuild/_decimal.vcxproj.filters2
-rw-r--r--setup.py2
5 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_decimal/libmpdec/README.txt b/Modules/_decimal/libmpdec/README.txt
index 4e0e4f3..dc97820 100644
--- a/Modules/_decimal/libmpdec/README.txt
+++ b/Modules/_decimal/libmpdec/README.txt
@@ -20,7 +20,7 @@ Files required for the Python _decimal module
context.c -> Context functions.
io.{c,h} -> Conversions between mpd_t and ASCII strings,
mpd_t formatting (allows UTF-8 fill character).
- memory.{c,h} -> Allocation handlers with overflow detection
+ mpalloc.{c,h} -> Allocation handlers with overflow detection
and functions for switching between static
and dynamic mpd_t.
mpdecimal.{c,h} -> All (quiet) functions of the specification.
diff --git a/Modules/_decimal/libmpdec/memory.c b/Modules/_decimal/libmpdec/mpalloc.c
index a854e09..a854e09 100644
--- a/Modules/_decimal/libmpdec/memory.c
+++ b/Modules/_decimal/libmpdec/mpalloc.c
diff --git a/PCbuild/_decimal.vcxproj b/PCbuild/_decimal.vcxproj
index 465a7ad..f0f387f 100644
--- a/PCbuild/_decimal.vcxproj
+++ b/PCbuild/_decimal.vcxproj
@@ -131,7 +131,7 @@
<ClCompile Include="..\Modules\_decimal\libmpdec\fnt.c" />
<ClCompile Include="..\Modules\_decimal\libmpdec\fourstep.c" />
<ClCompile Include="..\Modules\_decimal\libmpdec\io.c" />
- <ClCompile Include="..\Modules\_decimal\libmpdec\memory.c" />
+ <ClCompile Include="..\Modules\_decimal\libmpdec\mpalloc.c" />
<ClCompile Include="..\Modules\_decimal\libmpdec\mpdecimal.c" />
<ClCompile Include="..\Modules\_decimal\libmpdec\numbertheory.c" />
<ClCompile Include="..\Modules\_decimal\libmpdec\sixstep.c" />
diff --git a/PCbuild/_decimal.vcxproj.filters b/PCbuild/_decimal.vcxproj.filters
index 7e19aa2..1aa9d02 100644
--- a/PCbuild/_decimal.vcxproj.filters
+++ b/PCbuild/_decimal.vcxproj.filters
@@ -92,7 +92,7 @@
<ClCompile Include="..\Modules\_decimal\libmpdec\io.c">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\Modules\_decimal\libmpdec\memory.c">
+ <ClCompile Include="..\Modules\_decimal\libmpdec\mpalloc.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\Modules\_decimal\libmpdec\mpdecimal.c">
diff --git a/setup.py b/setup.py
index e54d31f..3ec89ce 100644
--- a/setup.py
+++ b/setup.py
@@ -2095,7 +2095,7 @@ class PyBuildExt(build_ext):
'_decimal/libmpdec/fnt.c',
'_decimal/libmpdec/fourstep.c',
'_decimal/libmpdec/io.c',
- '_decimal/libmpdec/memory.c',
+ '_decimal/libmpdec/mpalloc.c',
'_decimal/libmpdec/mpdecimal.c',
'_decimal/libmpdec/numbertheory.c',
'_decimal/libmpdec/sixstep.c',