File: posixness_fix

package info (click to toggle)
patchutils 0.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,752 kB
  • ctags: 391
  • sloc: sh: 7,174; ansic: 6,052; xml: 2,395; perl: 409; makefile: 269
file content (15 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (6)
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)
 {