From 8151da0f61f43a21528958fd9d4d8090e7a4931f Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Fri, 1 May 2009 21:24:56 +0000 Subject: [PATCH] Merged revisions 72180 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r72180 | antoine.pitrou | 2009-05-01 23:16:14 +0200 (ven., 01 mai 2009) | 4 lines Issue #5726: Make Modules/ld_so_aix return the actual exit code of the linker, rather than always exit successfully. Patch by Floris Bruynooghe. ........ --- Misc/NEWS | 6 ++++++ Modules/ld_so_aix | 3 +++ 2 files changed, 9 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index 132cea8fef4..555422b9e9f 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -49,6 +49,12 @@ Library makeunicodedata.py and regenerated the Unicode database (This fixes u'\u1d79'.lower() == '\x00'). +Build +----- + +- Issue #5726: Make Modules/ld_so_aix return the actual exit code of the + linker, rather than always exit successfully. Patch by Floris Bruynooghe. + Tests ----- diff --git a/Modules/ld_so_aix b/Modules/ld_so_aix index 76afa6e4851..6b83823d19e 100755 --- a/Modules/ld_so_aix +++ b/Modules/ld_so_aix @@ -181,7 +181,10 @@ $makexp $expfile "$objfile" $objs # Perform the link. #echo $CC $CCOPT $CCARGS $CC $CCOPT $CCARGS +retval=$? # Delete the module's export list file. # Comment this line if you need it. rm -f $expfile + +exit $retval