[med-svn] r6997 - trunk/packages/ncbi-blast+/trunk/debian/patches
Aaron M. Ucko
ucko at alioth.debian.org
Sat Jun 11 03:43:13 UTC 2011
Author: ucko
Date: 2011-06-11 03:43:13 +0000 (Sat, 11 Jun 2011)
New Revision: 6997
Modified:
trunk/packages/ncbi-blast+/trunk/debian/patches/hurd_fixes
Log:
Fix one more PATH_MAX assumption, in src/connect/ext/ncbi_localnet.c.
Modified: trunk/packages/ncbi-blast+/trunk/debian/patches/hurd_fixes
===================================================================
--- trunk/packages/ncbi-blast+/trunk/debian/patches/hurd_fixes 2011-06-11 02:04:21 UTC (rev 6996)
+++ trunk/packages/ncbi-blast+/trunk/debian/patches/hurd_fixes 2011-06-11 03:43:13 UTC (rev 6997)
@@ -2,8 +2,8 @@
* src/build-system/configure(.ac): when checking how select works, reset
the alarm from the signal handler to avoid spinning forever.
-* src/connect/ncbi_socket_cxx.cpp: cope with missing PATH_MAX everywhere,
- not just under Windows.
+* src/connect/ncbi_socket_cxx.cpp, src/connect/ext/ncbi_localnet.c:
+ cope with missing PATH_MAX everywhere, not just under Windows.
Author: Aaron M. Ucko <ucko at debian.org>
Last-Update: 2011-06-10
@@ -46,3 +46,16 @@
# define PATH_MAX 512 // will actually use less than 32 chars
#endif
+Index: b/c++/src/connect/ext/ncbi_localnet.c
+===================================================================
+--- a/c++/src/connect/ext/ncbi_localnet.c 2011-06-10 23:40:40.000000000 -0400
++++ b/c++/src/connect/ext/ncbi_localnet.c 2011-06-10 23:40:45.000000000 -0400
+@@ -64,6 +64,8 @@
+
+ #if defined(NCBI_OS_MSWIN) && !defined(PATH_MAX)
+ # define PATH_MAX _MAX_PATH
++#elif !defined(PATH_MAX)
++# define PATH_MAX 4096
+ #endif /*NCBI_OS_MSWIN && !PATH_MAX*/
+
+ #if PATH_MAX < 256
More information about the debian-med-commit
mailing list