ECO NUMBER: VMS712_ACRTL-V0200 PRODUCT: OpenVMS Alpha OPERATING SYSTEM V7.1-2 UPDATE PRODUCT: OpenVMS Alpha OPERATING SYSTEM V7.1-2 Compaq C RTL for OpenVMS Alpha V7.1-2 ECO Cover Letter 1 KIT NAME VMS712_ACRTL-V0200 2 KITS SUPERSEDED BY THIS KIT VMS712_ACRT-V0100 3 KIT DEPENDENCIES 3.1 Required remedial kits before installation The following remedial kit(s) must be installed BEFORE installation of this, or any required kit: o VMS712_UPDATE-V0300. o VMS62TO71U2_PCSI-V0200. 3.2 Required remedial kits In order to receive all the corrections listed in this kit, the following remedial kits should also be installed: None. 4 KIT DESCRIPTION 4.1 Version(s) of OpenVMS to which this kit may be applied: OpenVMS Alpha V7.1-2 4.2 Files patched or replaced: o [SYSLIB]DECC$SHR.EXE (new image) o [SYSLIB]CRTL.OBJ (new file - used to update STARLET.OBJ) o [SYSLIB]CRTLMSGDEF.OBJ (new file - used to update STARLET.OBJ) Compaq C RTL for OpenVMS Alpha V7.1-2 ECO Cover Letter Page 2 12 July 2001 5 ENABLING COMPAQ C RTL FEATURES The Compaq C RTL for OpenVMS uses logical names starting with DECC$ as feature switches for enabling specific behaviors; sometimes for introducing new behaviors and sometimes for preserving old behaviors that have been deprecated. In general, these behaviors are enabled by setting the specified logical name to the equivalence string "ENABLE" and disabled by setting to "DISABLE". Some feature switches added in earlier distributions of the C RTL documented that "any equivalence string" would enable the feature. While this is correct, Compaq recommends that users instead use "ENABLE" for all features enabled using logical names. This will avoid possible side effects if the feature switch is enhanced to allow both enabling and disabling with the logical name defined. In particular, the following values for the equivalence string should be avoided if the feature is documented as accepting "any equivalence string": o "DISABLE" o 0 (zero) o F o N 6 PROBLEMS ADDRESSED IN KIT VMS712_ACRTL-V0200 All issues listed below are fixed in the OpenVMS V7.3 release. o Functions mmap() and munmap() changes (Alpha) Several problems in function mmap() and munmap() were addressed. - Calling function mmap() could result in memory corruption, when specifying specific addresses in parameter addr. Under complex conditions the CRTL sometimes allocated internal memory needed by the CRTL for mmap() related routines in the address space mapped, which could result in memory corruption. - Function mmap(), with parameter addr set to 0, now returns the first available chunk of memory from the freelist (if any). It previously returned a "best fit" chunk from the freelist. o Linker informational "%LINK-I-DATMISMCH" After installation of previous CRTL ECO kits, user sees: %LINK-I-DATMISMCH, creation date of