File: posixness_fix

package info (click to toggle)
patchutils 0.3.1-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,480 kB
  • ctags: 279
  • sloc: sh: 6,676; ansic: 5,891; xml: 2,215; perl: 398; makefile: 259
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)
 {