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.
35 lines
612 B
35 lines
612 B
6 years ago
|
--- file.c 2018-02-23 06:39:56.329524606 +0000
|
||
|
+++ src/src/file.c 2018-02-23 06:40:14.550410296 +0000
|
||
|
@@ -53,7 +53,6 @@
|
||
|
#include <unistd.h>
|
||
|
#include <wchar.h>
|
||
|
#include <sys/wait.h>
|
||
|
-#include <wordexp.h>
|
||
|
|
||
|
#include "conf.h"
|
||
|
#include "maps.h"
|
||
|
@@ -82,6 +81,23 @@
|
||
|
extern int pthread_exists;
|
||
|
#endif
|
||
|
|
||
|
+#define WRDE_NOCMD 0
|
||
|
+
|
||
|
+typedef struct {
|
||
|
+ size_t we_wordc;
|
||
|
+ char **we_wordv;
|
||
|
+ size_t we_offs;
|
||
|
+} wordexp_t;
|
||
|
+
|
||
|
+static inline int wordexp(const char *c, wordexp_t *w, int _i)
|
||
|
+{
|
||
|
+ return -1;
|
||
|
+}
|
||
|
+
|
||
|
+static inline void wordfree(wordexp_t *__wordexp)
|
||
|
+{
|
||
|
+}
|
||
|
+
|
||
|
/**
|
||
|
* \brief Erase the database (tbl, etc.)
|
||
|
*
|