Bug 149209 - man pages for shmget(2) and shmctl(2) are wrong.
Summary: man pages for shmget(2) and shmctl(2) are wrong.
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: man-pages
Version: 4.0
Hardware: ia64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Ivana Varekova
QA Contact: Ben Levenson
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: 156322
TreeView+ depends on / blocked
 
Reported: 2005-02-21 06:17 UTC by L3support
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2005-10-05 13:39:59 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2005:356 qe-ready SHIPPED_LIVE man-pages bug fix update 2005-10-05 04:00:00 UTC

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



Note You need to log in before you can comment on or make changes to this bug.