File: posixness_fix

package info (click to toggle)
patchutils 0.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,588 kB
  • ctags: 321
  • sloc: sh: 6,955; ansic: 5,953; xml: 2,356; perl: 402; makefile: 263
file content (15 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: patchutils-0.3.1/src/util.c
===================================================================
--- patchutils-0.3.1.orig/src/util.c	2009-05-25 00:56:34.000000000 +0200
+++ patchutils-0.3.1/src/util.c	2009-05-25 00:56:55.000000000 +0200
@@ -48,6 +48,10 @@
 
 #include "util.h"
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 /* safe malloc */
 void *xmalloc (size_t size)
 {