gentoo-full-overlay/net-misc/urlview/files/no-trailing-newline.patch

11 lines
527 B
Diff

--- urlview.c 2000-07-04 11:14:30.000000000 +0100
+++ urlview.no-trailing-newline.c 2003-09-06 11:07:02.000000000 +0100
@@ -46,7 +46,7 @@
#include <rx/rxposix.h>
#endif
-#define DEFAULT_REGEXP "(((https?|ftp|gopher)://|(mailto|file|news):)[^' \t<>\"]+|(www|web|w3)\\.[-a-z0-9.]+)[^' \t.,;<>\"\\):]"
+#define DEFAULT_REGEXP "(((https?|ftp|gopher)://|(mailto|file|news):)[^' \t<>\"]+|(www|web|w3)\\.[-a-z0-9.]+)[^' \n\t.,;<>\"\\):]"
#define DEFAULT_COMMAND "url_handler.sh %s"
#define SYSTEM_INITFILE "/etc/urlview.conf"