Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Looking for a specific fix

2 views
Skip to first unread message

Jean Delvare

unread,
May 28, 2013, 12:27:30 PM5/28/13
to bug-...@gnu.org
Hi all,

There are a few changelog files seemingly related to bash on the web
with the following entry:

- change reset_job_indices to avoid infinite looping when js.j_firstj
== 0 or js.j_firstj == js.j_jobslots upon function entry. Fixes
bug reported by osi...@post.cz


For example in that file:
http://www.askapache.com/pub/bash/ChangeLog

I need to find the code change which corresponds to this fix. It seems
it happened between versions 3.2 and 4.0 of bash. However the git
repository doesn't seem to contain individual commits. I also couldn't
find the above entry in the CHANGES file of bash-4.0.

So I have a hard time figuring out if this corresponds to an actual fix
in bash. Can anyone shed some light on this, and ideally point me to the
code change if it exists somewhere?

Thanks,
--
Jean Delvare
Suse L3


Jean Delvare

unread,
May 28, 2013, 3:25:15 PM5/28/13
to bug-...@gnu.org
Ah, that would be bash-3.2-patches/bash32-018. I didn't catch it because
the description is different but the code change matches. Sorry for the
noise.

Chet Ramey

unread,
May 28, 2013, 3:31:55 PM5/28/13
to Jean Delvare, bug-...@gnu.org, chet....@case.edu
On 5/28/13 12:27 PM, Jean Delvare wrote:
> Hi all,
>
> There are a few changelog files seemingly related to bash on the web
> with the following entry:
>
> - change reset_job_indices to avoid infinite looping when js.j_firstj
> == 0 or js.j_firstj == js.j_jobslots upon function entry. Fixes
> bug reported by osi...@post.cz
>
>
> For example in that file:
> http://www.askapache.com/pub/bash/ChangeLog
>
> I need to find the code change which corresponds to this fix.

Why, out of curiosity? What do you need to know?

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU ch...@case.edu http://cnswww.cns.cwru.edu/~chet/

Jean Delvare

unread,
May 28, 2013, 3:51:48 PM5/28/13
to chet....@case.edu, bug-...@gnu.org
Hi Chet,

Le Tuesday 28 May 2013 à 15:31 -0400, Chet Ramey a écrit :
> On 5/28/13 12:27 PM, Jean Delvare wrote:
> > Hi all,
> >
> > There are a few changelog files seemingly related to bash on the web
> > with the following entry:
> >
> > - change reset_job_indices to avoid infinite looping when js.j_firstj
> > == 0 or js.j_firstj == js.j_jobslots upon function entry. Fixes
> > bug reported by osi...@post.cz
> >
> >
> > For example in that file:
> > http://www.askapache.com/pub/bash/ChangeLog
> >
> > I need to find the code change which corresponds to this fix.
>
> Why, out of curiosity? What do you need to know?

I need to fix that bug on an old product of ours which uses bash 3.1.

But it's OK, I found the fix (see my self-reply) and it applies fine on
top of bash 3.1.17 so I think I'm set.

Thanks,

Chet Ramey

unread,
May 28, 2013, 3:54:47 PM5/28/13
to Jean Delvare, bug-...@gnu.org, chet....@case.edu
On 5/28/13 3:51 PM, Jean Delvare wrote:
> Hi Chet,
>
> Le Tuesday 28 May 2013 à 15:31 -0400, Chet Ramey a écrit :
>> On 5/28/13 12:27 PM, Jean Delvare wrote:
>>> Hi all,
>>>
>>> There are a few changelog files seemingly related to bash on the web
>>> with the following entry:
>>>
>>> - change reset_job_indices to avoid infinite looping when js.j_firstj
>>> == 0 or js.j_firstj == js.j_jobslots upon function entry. Fixes
>>> bug reported by osi...@post.cz
>>>
>>>
>>> For example in that file:
>>> http://www.askapache.com/pub/bash/ChangeLog
>>>
>>> I need to find the code change which corresponds to this fix.
>>
>> Why, out of curiosity? What do you need to know?
>
> I need to fix that bug on an old product of ours which uses bash 3.1.

OK, I saw your reply. I was just wondering whether you were running into
a specific problem.
0 new messages