Patch Name: PHKL_21587 Patch Description: s700 10.20 fix for CDFS leap year problem Creation Date: 00/05/09 Post Date: 00/05/12 Hardware Platforms - OS Releases: s700: 10.20 Products: N/A Filesets: OS-Core.CORE-KRN Automatic Reboot?: Yes Status: General Release Critical: No Path Name: /hp-ux_patches/s700/10.X/PHKL_21587 Symptoms: PHKL_21587: (SR: 8606136205 CR: JAGab14219) System call stat() may give incorrect values for creation, access and modification times for CDFS files on/after Feb 29, 2000. Defect Description: PHKL_21587: (SR: 8606136205 CR: JAGab14219) A function calculating seconds after 1970 was considering year 2000 as a non-leap year and year 2100 as a leap year. Resolution: Corrected the algorithm checking leap years, so that year 2000 and year 2100 will be recognized as leap and non-leap years respectively. SR: 8606136205 Patch Files: /usr/conf/lib/libcdfs.a(cdfs_subr.o) what(1) Output: /usr/conf/lib/libcdfs.a(cdfs_subr.o): cdfs_subr.c $Date: 2000/05/09 08:38:30 $ $Revision: 1.4.98.2 $ PATCH_10.20 (PHKL_21587) cksum(1) Output: 1290644174 1464 /usr/conf/lib/libcdfs.a(cdfs_subr.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_21586: s800: 11.00 PHKL_21588: s800: 10.20 Patch Package Size: 60 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHKL_21587 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_21587.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_21587. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHKL_21587.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_21587.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None