ECO NUMBER: VMS721_ACRTL-V0400 PRODUCT: OpenVMS Alpha OPERATING SYSTEM V7.2-1 UPDATE PRODUCT: OpenVMS Alpha OPERATING SYSTEM V7.2-1 Compaq C RTL for OpenVMS Alpha V7.2-1 ECO Cover Letter 1 KIT NAME VMS721_ACRTL-V0400 2 KITS SUPERSEDED BY THIS KIT None 3 KIT DEPENDENCIES 3.1 The following remedial kit(s) must be installed BEFORE installation of this, or any required kit: VMS721_UPDATE-V0300 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.2-1 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) 5 PROBLEMS ADDRESSED IN KIT VMS721_ACRTL-V0400 o Large file support for I/O functions Compaq C RTL for OpenVMS Alpha V7.2-1 ECO Cover Letter Page 2 12 April 2002 o GB18030 Chinese character support o mmap, munmap, setlocale changes o Function strftime() V conversion specifier returns incorrect weeks o Threaded applications hang while opening files o Function ecvt() performance (high kernel mode) o Function times() performance issues o Function alarm() issues o fopen() fails in exec mode o File open context ctx=eol ignored o Support EFS charset in UNIX names o Functions stat() and fstat() issues o Function setvbuf() restricts max size to 32767 o Function pclose() doesn't return OpenVMS status o Excessive library lookups for socket routines o Locale printf() incorrect with negative values o Functions remove() and unlink() do not delete open files o HOME and PATH variables converted to lower case o Function stat(), access() fails with file opened for non-shared write Compaq C RTL for OpenVMS Alpha V7.2-1 ECO Cover Letter Page 3 12 April 2002 o access() returns success for W_OK on readonly device o Various problems with temporary file support o Function ftw() and readdir() do not recognize 000000.DIR o Function rename() unable to rename files without file types o access(path, W_OK) fails w/o delete access o Function getenv() with multithreading o getch() will ACCVIO when receiving a long escape sequence 6 PROBLEMS ADDRESSED IN KIT VMS721_ACRTL-V0300 o Linker informational "%LINK-I-DATMISMCH" o C$ERRNO symbols not defined in STARLET o mktime() performance o Performance in open() o Functions mmap() and munmap() changes o Function gettimeofday() fails without setting errno o Function getcwd() returns wrong case string for device 7 PROBLEMS ADDRESSED IN KIT VMS721_ACRTL-V0200 o File creation incorrectly inherits directory attributes Compaq C RTL for OpenVMS Alpha V7.2-1 ECO Cover Letter Page 4 12 April 2002 o Incorrect timestamp returned from stat and fstate functions o Support for timezones requiring a TDF of -13 o Calling _malloc64 in threaded application may access violate o Correct interpretation of years in strptime function o Prefixing of image names in execlp and execvp functions o Seeking past end of file no longer extends the physical file o Implicitly open files for shared access o Writing large amounts of data to a pipe o Image exit handler processing changed to avoid hangs in multithreaded programs o Extending a file using ftruncate does not extend the physical file o Select function is not terminated by exceptions as documented o Calls to fstat function may result in an Access Violation o Supporting search lists in calls to chdir o Support of hyphens in file specifications o Enhancements made in ODS-5 support o Disabling logical name translation in decc$to_vms function o Case-sensitive support in argv/argc program arguments o Accepting opendir("..") as a valid directory specification Compaq C RTL for OpenVMS Alpha V7.2-1 ECO Cover Letter Page 5 12 April 2002 o Correction made to stat("file.dir") which was not a directory 8 PROBLEMS ADDRESSED IN KIT VMS721_ACRT-V0100 o getenv() function looks for CLI symbol only in user mode o strptime() function was made XPG5-compliant o stat() function processes top-level directory of the concealed device o system() function always returns the correct status o opendir() and readdir() functions process remote directory o times() and clock() functions were made AST-reentrant o stat() function no longer fails due to the failure of mktime() o eight nested directory levels restriction was lifted o select() function was made standard compliant o memory corruption in printf() family of functions has been fixed o "Y2038 bug" fixed (time functions) o Improved handling of low memory condition by printf() o Fixed access to files on UNIX over DECnet 9 KIT INSTALLATION RATING The following kit installation rating, based upon current CLD information, is provided to serve as a guide to which customers should apply this remedial kit. (Reference attached Disclaimer of Warranty and Limitation of Liability Statement) INSTALLATION RATING: INSTALL_3 : To be installed by customers experiencing the problems corrected. Compaq C RTL for OpenVMS Alpha V7.2-1 ECO Cover Letter Page 6 12 April 2002 10 INSTALLATION INSTRUCTIONS Install this kit with the POLYCENTER Software Installation Utility by logging into the SYSTEM account, and typing the following at the DCL prompt: $ PRODUCT INSTALL VMS721_ACRTL /SOURCE= The kit location may be a tape drive, CD, or a disk directory that contains the kit. If /SOURCE is not specified, the utility searches in the location defined by the logical name PCSI$SOURCE. If PCSI$SOURCE is not defined, and the /SOURCE qualifier is not specified, the POLYCENTER Software Installation utility searches the current default directory. Because the images in this kit will not take effect until the system is rebooted, you must reboot the system after installing this kit. If you have other nodes in your OpenVMS cluster, they must also be rebooted in order to make use of the new image(s). If it is not possible or convenient to reboot the entire cluster at this time, a rolling re-boot may be performed. 10.1 Special Installation Instructions: 10.1.1 %INSTALL-E-NODELSHRADR Error Message During installation you may see the following message: %INSTALL-E-NODELSHRADR, unable to delete image with shareable address data -INSTALL-I-PLSREBOOT, please reboot to install a new version of this image This is not a cause for concern. It simply means that DECC$SHR.EXE was installed as a resident image, which is the standard configuration for OpenVMS Alpha systems. The new image will not take effect until the system is rebooted. 10.1.2 Scripting of Answers to Installation Questions During installation, this kit will ask and require user response to several questions. If you wish to automate the installation of this kit and avoid having to provide responses to these questions, you must create a DCL command procedure that includes the following definitions and commands: - $ DEFINE/SYS NO_ASK$BACKUP TRUE Compaq C RTL for OpenVMS Alpha V7.2-1 ECO Cover Letter Page 7 12 April 2002 - $ DEFINE/SYS NO_ASK$REBOOT TRUE - Add the following qualifiers to the PRODUCT INSTALL command and add that command to the DCL procedure. /PROD=DEC/BASE=AXPVMS/VER=V4.0 - De-assign the logicals assigned For example, a sample command file to install the VMS721_ACRTL-V0400 kit would be: $ $ DEFINE/SYS NO_ASK$BACKUP TRUE $ DEFINE/SYS NO_ASK$REBOOT TRUE $! $ PROD INSTALL VMS721_ACRTL/PROD=DEC/BASE=AXPVMS/VER=V4.0 $! $ DEASSIGN/SYS NO_ASK$BACKUP $ DEASSIGN/SYS NO_ASK$REBOOT $! $ exit