Hi,
the current CVS version of GtkG doesn't run on FreeBSD 4.9. It fails an assertion:
** ERROR **: file fileinfo_gui.c: line 310 (fi_gui_set_filter_regex): assertion
failed: (!regcomp(&filter_re, "", REG_EXTENDED|REG_NOSUB))
The reported regex error is: "empty (sub)expression"
Don't know what it's like on other OSs, but on FreeBSD, according to FreeBSD's
regex manpage, an empty regex is invalid:
--- snip ---
`|' cannot appear first or last in a (sub)expression or after another
`|', i.e. an operand of `|' cannot be an empty subexpression. An empty
parenthesized subexpression, `()', is legal and matches an empty
(sub)string. An empty string is not a legal RE.
--- snip ---
This limitation isn't mentioned on the Linux regex manpage.
Perhaps a NULL regex in the function should be replaced by "()" instead of ""?
Greetings,
Thomas.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel