This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fw: Bug#180914: sed: Another .* crash


> At first, I'm very sorry to trouble you by my buggy code.

No problem, it probably works better than you think.

> Then, the regex code needs some volunteers to fix the problems.
> But I know it is very hard because of comment deficiency, and
> unreadable code.

Perhaps it would suffice to make a brief description of how it works (just
how exactly backreferences are worked out, for example, or what does
"sifting" means) or to point out to an existing description of the
techniques.

Regarding the bug itself, which is indeed very rare because the \'.* regex
is completely pointless, could you only give a glance to my analysis of it
and suggest a solution among the two that I gave?  The more I think of it,
the more I think that duplicate_node_closure probably makes sense as it is
now, and hence the solution would be to modify build_trtable; so this should
not take you much time and I can (although not immediately) try to work out
a fix.

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]