Bug 149209

Summary: man pages for shmget(2) and shmctl(2) are wrong.
Product: Red Hat Enterprise Linux 4 Reporter: L3support <linux-sid>
Component: man-pagesAssignee: Ivana Varekova <varekova>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: laroche, tao
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2005-356 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-05 13:39:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 156322    

Description L3support 2005-02-21 06:17:14 UTC
Description of problem:
 man pages for shmget(2) and shmctl(2) are wrong. 
  - The second argument in prototype declaration of Japanese man page 
    for shmget(2) is not 'int' but 'size_t'
  - 'shmid_ds' member variable in 'shmid_ds' of Japanese and English 
    man pages for shmget(2) and shmctl(2) is not 'int' but 'size_t'. 

Version-Release number of selected component (if applicable):
 man-pages-1.67-3
 man-pages-ja-20040915-1

How reproducible:
 always

Steps to Reproduce:
 1. export LANG=C
 2. man shmget
 3. man shmctl
 4. export LANG=ja_JP.UTF-8
 5. man shmget
 6. man shmctl
  
Actual results:
 $ export LANG=C
 $ man shmget
  SHMGET(2)           Linux Programmerâs Manual           SHMGET(2)
              :
        struct shmid_ds {
            struct ipc_perm shm_perm;    /* operation perms */
            int             shm_segsz;   /* size of segment (bytes) */
            ^^^^
 $
 $ man shmctl
  SHMCTL(2)           Linux Programmerâs Manual           SHMCTL(2)
              :
        struct shmid_ds {
            struct ipc_perm shm_perm;    /* operation perms */
            int             shm_segsz;   /* size of segment (bytes) */
            ^^^^
 $
 $ export LANG=ja_JP.UTF-8
 $ man shmget
  SHMGET(2)           Linux Programmerâs Manual           SHMGET(2)
              :
        int shmget(key_t key, int size, int shmflg);
                              ^^^^
              :
        struct shmid_ds {
            struct ipc_perm shm_perm;    /* operation perms */
            int             shm_segsz;   /* size of segment (bytes) */
            ^^^^
 $
 $ man shmctl
  SHMCTL(2)           Linux Programmerâs Manual           SHMCTL(2)
              :
        struct shmid_ds {
            struct ipc_perm shm_perm;    /* operation perms */
            int             shm_segsz;   /* size of segment (bytes) */
            ^^^^
 $

Expected results:
 data type is described properly.

Additional info:

Comment 1 Lawrence Lim 2005-03-04 07:57:59 UTC
bman-pages-ja-20050215-1.EL4.0. has resolved the bug. Please refer to
bug 149217.


Thanks.

Comment 2 Jiri Ryska 2005-04-04 15:34:04 UTC
fixed in man-pages-1.67-5.EL4

Comment 9 Red Hat Bugzilla 2005-10-05 13:39:59 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-356.html