Patch Name: PHSS_20584 Patch Description: s300_400 Year 2000 fixes to localized message catalogs Creation Date: 99/12/08 Post Date: 99/12/20 Hardware Platforms - OS Releases: s300_400: 9.10 Products: N/A Filesets: CHINESES CHINESET CFRENCH FRENCH GERMAN JAPANESE KOREAN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s300_400/9.X/PHSS_20584 Symptoms: PHSS_20584: When using Native Language Support (NLS), the pr, ar, and cpio commands will always print 19 as the first two digits of the year. For example, 2001 would print as 1901. PHSS_14698: If a user is running with the LC_TIME variable set to chinese-s, at year 2000 or later, the date command will display an incorrect year value (e.g. 1900 instead of 2000, 1901 instead of 2001 etc.). Defect Description: PHSS_20584: The localized message catalogs (language other than English) hardcoded the century as 19. PHSS_14698: The locale.def and locale.inf files for the chinese-s locale were not designed with the year 2000 in mind. SR: 4701387258 Patch Files: /usr/lib/nls/chinese-s/locale.inf /usr/lib/nls/chinese-s/locale.def /usr/lib/nls/chinese-s/pr.cat /usr/lib/nls/chinese-s/ar.cat /usr/lib/nls/chinese-s/cpio.cat /usr/lib/nls/chinese-t/pr.cat /usr/lib/nls/chinese-t/ar.cat /usr/lib/nls/chinese-t/cpio.cat /usr/lib/nls/c-french/pr.cat /usr/lib/nls/c-french/ar.cat /usr/lib/nls/c-french/cpio.cat /usr/lib/nls/french/pr.cat /usr/lib/nls/french/ar.cat /usr/lib/nls/french/cpio.cat /usr/lib/nls/german/pr.cat /usr/lib/nls/german/ar.cat /usr/lib/nls/german/cpio.cat /usr/lib/nls/japanese/pr.cat /usr/lib/nls/japanese/ar.cat /usr/lib/nls/japanese/cpio.cat /usr/lib/nls/japanese/euc/pr.cat /usr/lib/nls/japanese/euc/ar.cat /usr/lib/nls/japanese/euc/cpio.cat /usr/lib/nls/korean/pr.cat /usr/lib/nls/korean/ar.cat /usr/lib/nls/korean/cpio.cat what(1) Output: /usr/lib/nls/chinese-s/locale.inf: HP $Revision: 70.4 $ 70.107 $ /usr/lib/nls/chinese-s/locale.def: HP $Revision: 70.3 $ 70.1 $ /usr/lib/nls/chinese-s/pr.cat: None /usr/lib/nls/chinese-s/ar.cat: None /usr/lib/nls/chinese-s/cpio.cat: None /usr/lib/nls/chinese-t/pr.cat: None /usr/lib/nls/chinese-t/ar.cat: None /usr/lib/nls/chinese-t/cpio.cat: None /usr/lib/nls/c-french/pr.cat: None /usr/lib/nls/c-french/ar.cat: None /usr/lib/nls/c-french/cpio.cat: None /usr/lib/nls/french/pr.cat: None /usr/lib/nls/french/ar.cat: None /usr/lib/nls/french/cpio.cat: None /usr/lib/nls/german/pr.cat: None /usr/lib/nls/german/ar.cat: None /usr/lib/nls/german/cpio.cat: None /usr/lib/nls/japanese/pr.cat: None /usr/lib/nls/japanese/ar.cat: None /usr/lib/nls/japanese/cpio.cat: None /usr/lib/nls/japanese/euc/pr.cat: None /usr/lib/nls/japanese/euc/ar.cat: None /usr/lib/nls/japanese/euc/cpio.cat: None /usr/lib/nls/korean/pr.cat: None /usr/lib/nls/korean/ar.cat: None /usr/lib/nls/korean/cpio.cat: None sum(1) Output: 58173 7 /usr/lib/nls/chinese-s/locale.inf 55423 6 /usr/lib/nls/chinese-s/locale.def 17444 1 /usr/lib/nls/chinese-s/pr.cat 49091 8 /usr/lib/nls/chinese-s/cpio.cat 15018 2 /usr/lib/nls/chinese-s/ar.cat 20073 2 /usr/lib/nls/chinese-t/ar.cat 36997 8 /usr/lib/nls/chinese-t/cpio.cat 19981 1 /usr/lib/nls/chinese-t/pr.cat 19851 3 /usr/lib/nls/c-french/ar.cat 22234 13 /usr/lib/nls/c-french/cpio.cat 18790 1 /usr/lib/nls/c-french/pr.cat 19851 3 /usr/lib/nls/french/ar.cat 22234 13 /usr/lib/nls/french/cpio.cat 18790 1 /usr/lib/nls/french/pr.cat 30082 3 /usr/lib/nls/german/ar.cat 47877 12 /usr/lib/nls/german/cpio.cat 18281 1 /usr/lib/nls/german/pr.cat 7073 3 /usr/lib/nls/japanese/ar.cat 56229 12 /usr/lib/nls/japanese/cpio.cat 35201 1 /usr/lib/nls/japanese/pr.cat 38008 3 /usr/lib/nls/japanese/euc/ar.cat 40338 12 /usr/lib/nls/japanese/euc/cpio.cat 44142 1 /usr/lib/nls/japanese/euc/pr.cat 2621 3 /usr/lib/nls/korean/ar.cat 39776 11 /usr/lib/nls/korean/cpio.cat 33283 1 /usr/lib/nls/korean/pr.cat Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_14698 Equivalent Patches: None Patch Package Size: 150 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/PHSS_20584 . sh PHSS_20584 3. Become root and run update: /etc/update [-r [kernel_gen_file]] -s \ /tmp/PHSS_20584.updt PHSS_20584 Update moves the original software to /system/PHSS_20584/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHSS_20584 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHSS_20584.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: This patch should only be loaded if you need a localized message catalog for one of the following languages: chinese-s, chinese-t, c-french, french, german, japanese, japanese.euc, korean. You may not select the patched files for only one language; by loading the patch, you will receive the patched files for all the languages listed.