~bjori/php/5.next

« back to all changes in this revision

Viewing changes to debian/patches/116-posixness_fix.patch

  • Committer: Hannes Magnusson
  • Date: 2011-05-05 17:43:35 UTC
  • Revision ID: git-v1:0a9e3743fa674606d388326280f28238b9806772
Remove all sorts of weird patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- a/TSRM/tsrm_config_common.h
2
 
+++ b/TSRM/tsrm_config_common.h
3
 
@@ -1,6 +1,10 @@
4
 
 #ifndef TSRM_CONFIG_COMMON_H
5
 
 #define TSRM_CONFIG_COMMON_H
6
 
 
7
 
+#ifndef PATH_MAX
8
 
+#define PATH_MAX 4096
9
 
+#endif
10
 
+
11
 
 #ifndef __CYGWIN__
12
 
 # if WINNT|WIN32
13
 
 #  define TSRM_WIN32
14
 
--- a/ext/date/lib/parse_tz.c
15
 
+++ b/ext/date/lib/parse_tz.c
16
 
@@ -18,6 +18,10 @@
17
 
 
18
 
 /* $Id: parse_tz.c 293036 2010-01-03 09:23:27Z sebastian $ */
19
 
 
20
 
+#ifndef PATH_MAX
21
 
+#define PATH_MAX 4096
22
 
+#endif
23
 
+
24
 
 #include "timelib.h"
25
 
 
26
 
 #include <stdio.h>
27
 
--- a/ext/standard/proc_open.c
28
 
+++ b/ext/standard/proc_open.c
29
 
@@ -24,6 +24,10 @@
30
 
 # define __EXTENSIONS__        1       /* Solaris: uint */
31
 
 #endif
32
 
 
33
 
+#ifndef PATH_MAX
34
 
+#define PATH_MAX 4096
35
 
+#endif
36
 
+
37
 
 #include "php.h"
38
 
 #include <stdio.h>
39
 
 #include <ctype.h>
40
 
--- a/main/php.h
41
 
+++ b/main/php.h
42
 
@@ -248,6 +248,10 @@ END_EXTERN_C()
43
 
 /* macros */
44
 
 #define STR_PRINT(str) ((str)?(str):"")
45
 
 
46
 
+#ifndef PATH_MAX
47
 
+#define PATH_MAX 4096
48
 
+#endif
49
 
+
50
 
 #ifndef MAXPATHLEN
51
 
 # ifdef PATH_MAX
52
 
 #  define MAXPATHLEN PATH_MAX