develooper Front page | perl.perl5.changes | Postings from November 2010

[perl.git] branch blead, updated. v5.13.7-197-g56a8686

From:
Jan Dubois
Date:
November 29, 2010 17:48
Subject:
[perl.git] branch blead, updated. v5.13.7-197-g56a8686
Message ID:
E1PNFKQ-0006vA-No@camel.ams6.corp.booking.com
In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/56a86867b86f603e24bea0daab37d0f2a978e03c?hp=ceac08d31e451a6c38e90b0438d90faa777ca77c>

- Log -----------------------------------------------------------------
commit 56a86867b86f603e24bea0daab37d0f2a978e03c
Author: Jan Dubois <jand@activestate.com>
Date:   Mon Nov 29 17:10:02 2010 -0800

    Use default stack size on Windows
    
    Perl used to request 16MB of stack instead of the default 1MB (when
    compiling with VC++).  I believe this was done to accomodate the
    recursive nature of the regex engine, which is no longer a concern
    since 5.10.  The requested stack size will be reserved for each
    thread created by the process, not just for the main thread.
    
    Note also that we don't explicitly specify the stack size when
    compiling with GCC on Windows (MinGW), which reserves a stack size of
    2MB by default.
-----------------------------------------------------------------------

Summary of changes:
 win32/Makefile    |    4 ++--
 win32/makefile.mk |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/win32/Makefile b/win32/Makefile
index 2989871..248c685 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -1004,14 +1004,14 @@ perlmainst$(o) : perlmainst.c
 	$(CC) $(CFLAGS_O) $(OBJOUT_FLAG)$@ -c perlmainst.c
 
 $(PERLEXE): $(PERLDLL) $(CONFIGPM) $(PERLEXE_OBJ) $(PERLEXE_RES)
-	$(LINK32) -subsystem:console -out:$@ -stack:0x1000000 $(LINK_FLAGS) \
+	$(LINK32) -subsystem:console -out:$@ $(LINK_FLAGS) \
 	    $(LIBFILES) $(PERLEXE_OBJ) $(SETARGV_OBJ) $(PERLIMPLIB) $(PERLEXE_RES)
 	$(EMBED_EXE_MANI)
 	copy $(PERLEXE) $(WPERLEXE)
 	$(MINIPERL) -I..\lib bin\exetype.pl $(WPERLEXE) WINDOWS
 
 $(PERLEXESTATIC): $(PERLSTATICLIB) $(CONFIGPM) $(PERLEXEST_OBJ) $(PERLEXE_RES)
-	$(LINK32) -subsystem:console -out:$@ -stack:0x1000000 $(LINK_FLAGS) \
+	$(LINK32) -subsystem:console -out:$@ $(LINK_FLAGS) \
 	    @Extensions_static $(PERLSTATICLIB) /PDB:NONE \
 	    $(LIBFILES) $(PERLEXEST_OBJ) $(SETARGV_OBJ) $(PERLEXE_RES)
 	$(EMBED_EXE_MANI)
diff --git a/win32/makefile.mk b/win32/makefile.mk
index 0c68318..fe845c2 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -1382,7 +1382,7 @@ $(PERLEXE): $(PERLDLL) $(CONFIGPM) $(PERLEXE_OBJ) $(PERLEXE_RES)
 	$(LINK32) -mconsole -o $@ $(BLINK_FLAGS)  \
 	    $(PERLEXE_OBJ) $(PERLEXE_RES) $(PERLIMPLIB) $(LIBFILES)
 .ELSE
-	$(LINK32) -subsystem:console -out:$@ -stack:0x1000000 $(BLINK_FLAGS) \
+	$(LINK32) -subsystem:console -out:$@ $(BLINK_FLAGS) \
 	    $(LIBFILES) $(PERLEXE_OBJ) $(SETARGV_OBJ) $(PERLIMPLIB) $(PERLEXE_RES)
 	$(EMBED_EXE_MANI)
 .ENDIF
@@ -1401,7 +1401,7 @@ $(PERLEXESTATIC): $(PERLSTATICLIB) $(CONFIGPM) $(PERLEXEST_OBJ) $(PERLEXE_RES)
 		$(PERLSTATICLIB) $(LIBFILES) $(PERLEXEST_OBJ) \
 		$(PERLEXE_RES) $(LKPOST))
 .ELSE
-	$(LINK32) -subsystem:console -out:$@ -stack:0x1000000 $(BLINK_FLAGS) \
+	$(LINK32) -subsystem:console -out:$@ $(BLINK_FLAGS) \
 	    @Extensions_static $(PERLSTATICLIB) /PDB:NONE \
 	    $(LIBFILES) $(PERLEXEST_OBJ) $(SETARGV_OBJ) $(PERLEXE_RES)
 	$(EMBED_EXE_MANI)

--
Perl5 Master Repository



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About