[Pkg-cvs-commits] r25 - /trunk/patches/15_PATH_MAX_check
zakame-guest at users.alioth.debian.org
zakame-guest at users.alioth.debian.org
Mon Aug 14 16:42:48 UTC 2006
Author: zakame-guest
Date: Mon Aug 14 16:42:46 2006
New Revision: 25
URL: http://svn.debian.org/wsvn/?sc=1&rev=25
Log:
Add missing PATH_MAX check
Added:
trunk/patches/15_PATH_MAX_check
Added: trunk/patches/15_PATH_MAX_check
URL: http://svn.debian.org/wsvn/trunk/patches/15_PATH_MAX_check?rev=25&op=file
==============================================================================
--- trunk/patches/15_PATH_MAX_check (added)
+++ trunk/patches/15_PATH_MAX_check Mon Aug 14 16:42:46 2006
@@ -0,0 +1,27 @@
+# Fix FTBFS in hurd-i386 regarding bad check of PATH_MAX.
+# Closes: #378966
+# Thanks to Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>
+diff -ruN cvs-1.12.13-old/lib/chdir-long.c cvs-1.12.13/lib/chdir-long.c
+--- cvs-1.12.13-old/lib/chdir-long.c 2005-09-19 21:12:18.000000000 +0000
++++ cvs-1.12.13/lib/chdir-long.c 2006-07-20 02:47:32.000000000 +0000
+@@ -39,9 +39,7 @@
+ # define O_DIRECTORY 0
+ #endif
+
+-#ifndef PATH_MAX
+-# error "compile this file only if your system defines PATH_MAX"
+-#endif
++#ifdef PATH_MAX
+
+ struct cd_buf
+ {
+@@ -269,6 +267,8 @@
+ }
+ #endif
+
++#endif /* PATH_MAX */
++
+ /*
+ Local Variables:
+ compile-command: "gcc -DTEST_CHDIR=1 -DHAVE_CONFIG_H -I.. -g -O -W -Wall chdir-long.c libcoreutils.a"
+
More information about the Pkg-cvs-commits
mailing list