• Tom Lane's avatar
    Fix minor bug in regexp makesearch() function. · 91cf3135
    Tom Lane authored
    The list-wrangling here was done wrong, allowing the same state to get
    put into the list twice.  The following loop then would clone it twice.
    The second clone would wind up with no inarcs, so that there was no
    observable misbehavior AFAICT, but a useless state in the finished NFA
    isn't an especially good thing.
    91cf3135
regcomp.c 53 KB