Red Hat Bugzilla – Bug 250362
description in ksh's manpage about subscript of index array is wrong
Last modified: 2008-05-21 11:43:25 EDT
Description of problem:
The description in ksh's manpage about subscript of index array is wrong.
It says that "The value of all subscripts must be in the range of 0 through
In fact, the subscript reach to 16777215.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
"The value of all subscripts must be in the range of 0 through 4095." will be
"The value of all subscripts must be in the range of 0 through 16777215." will
Created attachment 160391 [details]
the patch for ksh manpage
I'm a bit confused... This bug was filled three times (bug #250359, bug
#250360) and this one seems to be the latest. Is this really true for i386
only? And please keep in mind that ksh scripts are supposed to be portable
among really big number of architectures (even those RHEL won't run on) and the
man page must be really generic. Two of the three mentioned bugs should be
closed. Which ones should that be?
Oops... Four times: bug #250356 as well. OK. I'll close the two of three for
"all" architectures and I would like to ask you whether you could provide any
more detailed info about which of the two remaining to close...
Sorry for duplicated the bug.
Since when I commit it, a warning message that "Product Name "" is invalid or
doesnot exist" alwayas outputed, so I tried four times....
This bug is about index subscripts, which has been expanded to 16M. But the
manpage tells me that it is only 4K.
*** Bug 250360 has been marked as a duplicate of this bug. ***
I've closed the remainning duplicate and set architecture to "all" on this one.
I know the maximum subscribt value has been increased but originally I thought
that the new limit was 4Mi (not 16Mi). I'll check this with upstream -- the
manpage is wrong in both cases.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
I've checked the latest beta ksh (2007-10-31) and it says:
The value of all subscripts must be in the range of 0 through 1,048,575.
Let's use that number.
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.