Patch Name: PHCO_14827 Patch Description: s300_400 9.10 touch (1) fixes for year 2000 Creation Date: 98/04/15 Post Date: 98/04/17 Hardware Platforms - OS Releases: s300_400: 9.10 Products: N/A Filesets: UX-CORE Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s300_400/9.X/PHCO_14827 Symptoms: PHCO_14827: touch(1) Bad dates handled inconsistently. The command: touch 0120172243 file.out creates a file that ll shows as: -rw-rw-r-- 1 owner users 0 Dec 15 1906 file.out PHCO_14201: touch(1) The touch compatibility mode incorrectly handles years 2000 and beyond. The command: touch 0120172203 file.out generated a file with the date Jan. 20, 1970 Defect Description: PHCO_14827: Dates that overflowed a time buffer were not handled correctly. PHCO_14201: For the touch compatibility mode all years were hardcoded with the century equal to 19. SR: 4701382978 Patch Files: /bin/touch what(1) Output: /bin/touch: PATCH/9_1 PHCO_14827 $Revision: 70.8 $ sum(1) Output: 28293 13 /bin/touch Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_14201 Equivalent Patches: None 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. Copy the patch to your /tmp directory and unshar it: cd /tmp cp patch_source/PHCO_14827 . sh PHCO_14827 3. Become root and run update: /etc/update [-r [kernel_gen_file]] -s \ /tmp/PHCO_14827.updt PHCO_14827 Update moves the original software to /system/PHCO_14827/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHCO_14827 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHCO_14827.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: None