You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by ch...@apache.org on 2013/11/21 23:40:41 UTC

svn commit: r1544350 - /uima/sandbox/uima-ducc/trunk/uima-ducc-spawn/src/ducc_ling.c

Author: challngr
Date: Thu Nov 21 22:40:40 2013
New Revision: 1544350

URL: http://svn.apache.org/r1544350
Log:
UIMA-3117 Use constant 4096 for buffers to avoid portability issues.

Modified:
    uima/sandbox/uima-ducc/trunk/uima-ducc-spawn/src/ducc_ling.c

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-spawn/src/ducc_ling.c
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-spawn/src/ducc_ling.c?rev=1544350&r1=1544349&r2=1544350&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-spawn/src/ducc_ling.c (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-spawn/src/ducc_ling.c Thu Nov 21 22:40:40 2013
@@ -82,7 +82,7 @@
  * BUFFLEN is largest size for our stack buffers.
  * STRLEN  is longest string we'll place into a stack buffer.
  */
-#define BUFLEN (PATH_MAX)
+#define BUFLEN (4096)
 #define STRLEN (BUFLEN-1)
 
 static int quiet = 0;