Skip to main content

TPF : Support : Maintenance TPF : Support : Maintenance

Skip to: Abstract | Comments | Solution | Migration | Download

APAR NUMBER:  PJ29952                           
PRODUCT:  TPF4  
FUNCTIONAL AREA:  ISO-C SUPPORT  
SHIPPED IN PUT:  19  
   

ABSTRACT:  
APAR PJ28765 causes CTL-4 and CTL-3 dumps (the exec() function).  
   
APAR CONTENTS:  
FEATURE   TYPE                STATUS    NAME                                
Base      CHeader             Changed   include/i$ecb3.h  
Base      DataMacro           Changed   macro/ieqce3.mac  
Base      C                   Changed   source/rt/base/cexecg.c  
Base      Assembler           Changed   source/rt/base/clmint.asm  
   
PREREQUISITE APARS:  To be applied in order listed.  
Base      CHeader             Changed   include/i$ecb3.h  
 PJ25632(09)  PJ25459(09)  PJ25981(10)  PJ26054(10)  
 PJ26150(10)  
 PJ26188(10)  PJ26600(11)  PJ27383(13)  PJ27393(13)  
Base      DataMacro           Changed   macro/ieqce3.mac  
 PJ25632(09)  PJ25459(09)  PJ25981(10)  PJ26054(10)  
 PJ26150(10)  
 PJ26188(10)  PJ26600(11)  PJ27383(13)  PJ27393(13)  PJ28649(17)  
Base      C                   Changed   source/rt/base/cexecg.c  
 PJ28765(17)  
Base      Assembler           Changed   source/rt/base/clmint.asm  
 PJ25425(09)  PJ25632(09)  PJ25696(10)  PJ25807(10)  
 PJ25983(10)  
 PJ25981(10)  PJ26008(10)  PJ26575(11)  PJ26804(12)  
 PJ26967(12)  
 PJ21337(12)  PJ27252(13)  PJ27277(13)  PJ27383(13)  PJ27440(14)  
 PJ27557(14)  PJ27563(14)  PJ27977(15)  PJ28235(16)  PJ28649(17)  
 PJ28765(17)  PJ28943(17)  PJ29121(18)  PJ29299(18)  PJ29782(19)  
   

COMMENTS:  
The code in CLMINT to support the new exec() function incorrectly  
tested the macro trace   
table to determine whether an exec() function was executed. This   
caused incorrect initializing of the C environment for some C programs.  
   

SOLUTION:  
A new indicator is created in page 3 of the ECB that will be set when  
an exec() function is executed.   
This switch is tested in CLMINT to determine the correct initialization  
path to take depending   
on whether this module was started by an exec() call. This indicator  
also is set to the   
initial state by CLMINT when the exec() path is taken, so subsequent C  
module calls execute correctly.  
   
   

DEPENDENCIES  
   
SEGMENTS TO BE ASSEMBLED OR COMPILED:  
None.  
   
SEGMENTS TO BE LINK EDITED:  
ciso40.exe (Shipped in Tar File)  
comx40.exe (Shipped in Tar File)  
   
COREQS:  
None.  
   

MIGRATION CONSIDERATIONS:  
None.  
   
UPDATED INFORMATION UNITS:  
TPF C/C++ Language Support User's Guide  
   
See your IBM representative if you need additional information.  
   

DOWNLOAD INSTRUCTIONS:  
http://www.ibm.com/software/htp/tpf/pages/maint.htm
   
-- END APAR PJ29952 
       


Download file(s): Login once to access server, leave window open, then click on link(s) below. Source Listing Binary