Begin File: check_y2k_lib.tgz Description: Checks 16-bit binaries for buggy y2k library code. Keywords: date clock time y2k lib library bug 16-bit year 2000 Version: Entered-date: Author: Ported-by: Original-site: Copying-policy: Supplemental: Watcom C for QNX versions 8.51e and earlier had a faulty gmtime() library routine which incorrectly reports the day of week one day off from March 1 2000 through to the end of the epoch. This utility checks for the presence of the faulty library code in binaries. Entire disks can be scanned for binaries or libraries which may be affected by this problem by using find in conjunction with check_y2k_lib, e.g. find / -type f \( -perm -u+x -o -perm -g+x -o -perm -o+x -o -name '*.lib' \) \ -echo \"{}\" | xargs check_y2k_lib -a Note also that scans of the disk (above) should be done as root to avoid the possibility of failing to detect bad binaries due to lack of file permissions. The check_y2k_lib program is itself a 16-bit binary which, for the purposes of comparison, also contains the code sequences it is designed to detect. Users of 32-bit QNX should note that the 16-bit shared library (Slib16) must be installed in order to run the check_y2k_lib utility. End