ports/databases/mysql-query-browser/files/patch-regcomp.c
Sergey Matveychuk 44e1a837db MySQL Query Browser is a database querying tool that combines the simplicity
of a Web-browser-like interface with powerful features like multiple result
sets on tab sheets, query history, storing query "bookmarks", editing and
comparing resultsets, SQL script debugging, and more.

WWW: http://www.mysql.com/products/tools/query-browser/

PR:		ports/95530
Submitted by:	Rainer Alves <rainer.alves@gmail.com>
2006-04-18 17:35:29 +00:00

21 lines
781 B
C

--- mysql-query-browser/source/linux/gtksourceview/gtksourceview/gnu-regex/regcomp.c.orig Sun Apr 9 00:37:59 2006
+++ mysql-query-browser/source/linux/gtksourceview/gtksourceview/gnu-regex/regcomp.c Sun Apr 9 00:39:42 2006
@@ -451,18 +451,6 @@
if (ret == REG_ERPAREN)
ret = REG_EPAREN;
- /* We have already checked preg->fastmap != NULL. */
- if (BE (ret == REG_NOERROR, 1))
- /* Compute the fastmap now, since regexec cannot modify the pattern
- buffer. This function nevers fails in this implementation. */
- (void) re_compile_fastmap (preg);
- else
- {
- /* Some error occurred while compiling the expression. */
- re_free (preg->fastmap);
- preg->fastmap = NULL;
- }
-
return (int) ret;
}
#ifdef _LIBC