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.
57 lines
1.3 KiB
57 lines
1.3 KiB
10 years ago
|
Index: Makefile
|
||
|
--- Makefile.orig 2015-09-30 09:39:45.000000000 +0200
|
||
|
+++ Makefile 2015-09-30 09:47:47.915698979 +0200
|
||
|
@@ -43,7 +43,7 @@
|
||
|
|
||
|
ISO_CHAR_SET = 1
|
||
|
|
||
|
-OPTIMIZEFLAGS = -O3
|
||
|
+OPTIMIZEFLAGS = -O2
|
||
|
DEFINEFLAGS = -DHAVE_DIRENT_H=$(HAVE_DIRENT_H) \
|
||
|
-DHAVE_SYS_DIR_H=$(HAVE_SYS_DIR_H) \
|
||
|
-DHAVE_SYS_NDIR_H=$(HAVE_SYS_NDIR_H) \
|
||
|
Index: checkfil.c
|
||
|
--- checkfil.c.orig 2015-09-30 09:39:45.000000000 +0200
|
||
|
+++ checkfil.c 2015-09-30 09:47:47.915698979 +0200
|
||
|
@@ -10,9 +10,7 @@
|
||
|
#include <ctype.h>
|
||
|
#include <fcntl.h>
|
||
|
#include <sys/types.h>
|
||
|
-/*
|
||
|
#include <sys/stat.h>
|
||
|
-*/
|
||
|
#include <errno.h>
|
||
|
#include "checkfil.h"
|
||
|
|
||
|
Index: newmgrep.c
|
||
|
--- newmgrep.c.orig 2015-09-30 09:39:45.000000000 +0200
|
||
|
+++ newmgrep.c 2015-09-30 09:49:30.885714511 +0200
|
||
|
@@ -12,13 +12,8 @@
|
||
|
#include <stdio.h>
|
||
|
#include <ctype.h>
|
||
|
|
||
|
-#ifdef __EMX__
|
||
|
#include <sys/types.h>
|
||
|
-#endif
|
||
|
-
|
||
|
-#ifdef _WIN32
|
||
|
#include <sys/stat.h>
|
||
|
-#endif
|
||
|
|
||
|
#include "agrep.h"
|
||
|
#include "codepage.h"
|
||
|
Index: recursiv.c
|
||
|
--- recursiv.c.orig 2015-09-30 09:39:45.000000000 +0200
|
||
|
+++ recursiv.c 2015-09-30 09:49:10.196107452 +0200
|
||
|
@@ -21,7 +21,10 @@
|
||
|
|
||
|
#include "autoconf.h" /* ../libtemplate/include */
|
||
|
#include <stdio.h>
|
||
|
+#include <stdlib.h>
|
||
|
+#include <string.h>
|
||
|
#include <sys/types.h>
|
||
|
+#include <sys/stat.h>
|
||
|
|
||
|
#if ISO_CHAR_SET
|
||
|
#include <locale.h>
|