Ticket #54720: patch-re.c.diff

File patch-re.c.diff, 365 bytes (added by mtn88 (Max), 7 years ago)
  • re.c

    old new  
    512512        signal(SIGINT, jmpproc);
    513513        for (spos = start; spos <= end; spos++) {
    514514                /* if (bregexec(spos, smem)) { */
    515                 if (*s_end = bregexec(spos, smem)) {
     515                if (*s_end == bregexec(spos, smem)) {
    516516                        signal(SIGINT, SIG_IGN);
    517517                        *s_end++;
    518518                        return(spos);