File: posixness_fix

package info (click to toggle)
patchutils 0.4.2-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,248 kB
  • sloc: ansic: 6,181; sh: 6,143; xml: 2,750; perl: 409; makefile: 248; python: 23
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)
 {