public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* regex.c change between 1.64 and 1.65
@ 2000-02-01  3:45 Andreas Schwab
  2000-02-08  8:41 ` Ulrich Drepper
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2000-02-01  3:45 UTC (permalink / raw)
  To: libc-hacker

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

What is this change in posix/regex.c supposed to fix?

@@ -2910,7 +2910,7 @@
 
                 if (p == pend)
                   {
-                    if (syntax & RE_NO_BK_BRACES)
+                    if (!(syntax & RE_INTERVALS) && (syntax & RE_NO_BK_BRACES))
                       goto unfetch_interval;
                     else
                       FREE_STACK_RETURN (REG_EBRACE);


When the label handle_interval is reached the RE_INTERVALS bit is always
set, so this condition cannot ever be true any more.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-02-08  9:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-01  3:45 regex.c change between 1.64 and 1.65 Andreas Schwab
2000-02-08  8:41 ` Ulrich Drepper
2000-02-08  9:02   ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).