 |
≫ |
|
|
 |
パッチ名: PHCO_36073
パッチ摘要: 11.31 libc累積ヘッダーファイルパッチ
作成日: 07/05/22
公開日: 07/08/21
ハードウェアプラットフォームおよびOSリリース:
11.31
現象:
PHCO_36073:
(SR:8606477355 CR:JAGag31771)
<limits.h>ヘッダー内のUNIX 2003ネームスペースの下にFILESIZEBITSが定義
されているため、fpathconfおよびpathconfのUNIX 2003標準テストが異常終了
します。
問題点の説明:
PHCO_36073:
(SR:8606477355 CR:JAGag31771)
<limits.h>ヘッダー内で定義するFILESIZEBITSの値は、指定したディレクトリ
内で許容される通常のファイルの最大サイズを符号付き整数値で表わすのに必
要な最小ビット数です。UNIX 2003標準によると、_PC_FILESIZEBITSフラグ付
きのfpathconf(2)/pathconf(2)が返す、対応する値がファイルシステムごとに
変わる場合は、FILESIZEBITSの定義を省略することになっています。HP-UXは
各種のファイルシステムをサポートするので、ファイルシステムが変わると対
応する値も変わります。したがって、UNIX 2003標準によると、これは不具合
です。
解決方法:
FILESIZEBITSの定義をUNIX 2003ネームスペースから削除しました。
-----------------------------------------------------------------------------
Patch Name: PHCO_36073
Patch Description: 11.31 libc cumulative header file patch
Creation Date: 07/05/22
Post Date: 07/08/21
Hardware Platforms - OS Releases:
11.31
Products: N/A
Filesets:
ProgSupport.C-INC,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP
Automatic Reboot?: No
Status: General Release
Critical:
Yes
PHCO_36073: OTHER
UNIX 2003 standards test failure.
Category Tags:
defect_repair general_release critical
Path Name: /hp-ux_patches/11.X/PHCO_36073
Symptoms:
PHCO_36073:
( SR:8606477355 CR:JAGag31771 )
The fpathconf & pathconf UNIX 2003 standards tests
fail since FILESIZEBITS is defined under UNIX 2003
namespace in <limits.h> header.
Defect Description:
PHCO_36073:
( SR:8606477355 CR:JAGag31771 )
The value of FILESIZEBITS defined in <limits.h> header
gives the minimum number of bits needed to represent, as a
signed integer value, the maximum size of a regular file
allowed in the specified directory. The UNIX 2003 standard
says to omit the definition of FILESIZEBITS if the
corresponding value returned by fpathconf(2) or pathconf(2)
with flag _PC_FILESIZEBITS varies depending on filesystem.
Since HP-UX supports various filesystems, the corresponding
value would be different on different filesystems. Hence,
as per UNIX 2003 standards, it's a defect.
Resolution:
The definition of FILESIZEBITS is removed from UNIX 2003
namespace.
Enhancement:
No
SR:
8606477355
Patch Files:
ProgSupport.C-INC,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
/usr/include/limits.h
what(1) Output:
ProgSupport.C-INC,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
/usr/include/limits.h:
limits.h $Date: 2007/05/21 17:11:58 $Revision: r11.3
1/1 PATCH_11.31 (PHCO_36073) */
cksum(1) Output:
ProgSupport.C-INC,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA,v=HP:
600461496 24063 /usr/include/limits.h
Patch Conflicts: None
Patch Dependencies: None
Hardware Dependencies: None
Other Dependencies: None
Supersedes: None
Equivalent Patches: None
Patch Package Size: 30 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 PHCO_36073
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHCO_36073.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHCO_36073. If you do not wish to retain a
copy of the original software, include the patch_save_files
option in the swinstall command above:
-x patch_save_files=false
WARNING: If patch_save_files is false when a patch is installed,
the patch cannot be deinstalled. Please be careful
when using this feature.
For future reference, the contents of the PHCO_36073.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHCO_36073.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHCO_36073.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|