summaryrefslogtreecommitdiff
path: root/win32/perllib.c
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2012-10-17 11:56:29 -0400
committerSteve Hay <steve.m.hay@googlemail.com>2012-10-31 08:20:36 +0000
commitfe1c5936a5509bb49f9ba7d0e455b6c34c315496 (patch)
tree35ddc0aa44171dacfe4c63c30799137f7e7d4482 /win32/perllib.c
parent8bdd21ca8ae429643ac70acd9df1eb8d513e38bc (diff)
downloadperl-fe1c5936a5509bb49f9ba7d0e455b6c34c315496.tar.gz
consting in perl.c:S_Internals_V and Win32 DynaLoader
These assorted static allocated variables were in RW memory in the perl image. Move them to RO memory so they are sharable between different Perl processes by the OS. The lack of consting in Win32 Dynaloader traces to commit 0a753a76406 . S_Internals_V traces to commit 4a5df386486 .
Diffstat (limited to 'win32/perllib.c')
-rw-r--r--win32/perllib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/perllib.c b/win32/perllib.c
index e838d0c6db..22e89238e5 100644
--- a/win32/perllib.c
+++ b/win32/perllib.c
@@ -18,7 +18,7 @@
/* Register any extra external extensions */
-char *staticlinkmodules[] = {
+const char * const staticlinkmodules[] = {
"DynaLoader",
/* other similar records will be included from "perllibst.h" */
#define STATIC1