You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

81 lines
2.3 KiB

Index: clish/nspace.h
--- clish/nspace.h.orig 2015-09-30 12:33:10.000000000 +0200
+++ clish/nspace.h 2015-10-08 08:35:30.785659726 +0200
@@ -24,7 +24,7 @@
CLISH_NSPACE_CHELP
} clish_nspace_visibility_e;
-#include <regex.h>
+#include "pcreposix.h"
#include "clish/view.h"
Index: clish/nspace/nspace.c
--- clish/nspace/nspace.c.orig 2015-09-30 12:31:13.000000000 +0200
+++ clish/nspace/nspace.c 2015-10-08 08:35:30.785659726 +0200
@@ -11,7 +11,7 @@
#include <string.h>
#include <stdio.h>
#include <sys/types.h>
-#include <regex.h>
+#include "pcreposix.h"
#include <ctype.h>
/*---------------------------------------------------------
Index: clish/nspace/private.h
--- clish/nspace/private.h.orig 2015-05-06 15:03:50.000000000 +0200
+++ clish/nspace/private.h 2015-10-08 08:35:30.785659726 +0200
@@ -1,7 +1,7 @@
/*
* nspace.h
*/
-#include <regex.h>
+#include "pcreposix.h"
#include "clish/nspace.h"
Index: clish/ptype/private.h
--- clish/ptype/private.h.orig 2013-07-23 17:20:50.000000000 +0200
+++ clish/ptype/private.h 2015-10-08 08:35:30.785659726 +0200
@@ -6,7 +6,7 @@
#include "lub/argv.h"
#include <sys/types.h>
-#include <regex.h>
+#include "pcreposix.h"
typedef struct clish_ptype_integer_s clish_ptype_integer_t;
struct clish_ptype_integer_s {
Index: clish/shell/shell_execute.c
--- clish/shell/shell_execute.c.orig 2015-10-06 16:51:41.000000000 +0200
+++ clish/shell/shell_execute.c 2015-10-08 08:42:48.026521134 +0200
@@ -20,7 +20,7 @@
#include <fcntl.h>
/* Empty signal handler to ignore signal but don't use SIG_IGN. */
-static void sigignore(int signo)
+static void my_sigignore(int signo)
{
signo = signo; /* Happy compiler */
return;
@@ -313,7 +313,7 @@
*/
sa.sa_flags = 0;
sigemptyset(&sa.sa_mask);
- sa.sa_handler = sigignore; /* Empty signal handler */
+ sa.sa_handler = my_sigignore; /* Empty signal handler */
sigaction(SIGINT, &sa, &old_sigint);
sigaction(SIGQUIT, &sa, &old_sigquit);
sigaction(SIGHUP, &sa, &old_sighup);
Index: konf/tree/tree.c
--- konf/tree/tree.c.orig 2013-07-23 17:20:50.000000000 +0200
+++ konf/tree/tree.c 2015-10-08 08:35:30.785659726 +0200
@@ -14,7 +14,7 @@
#include <string.h>
#include <stdio.h>
#include <sys/types.h>
-#include <regex.h>
+#include "pcreposix.h"
/*---------------------------------------------------------
* PRIVATE META FUNCTIONS