nixpkgs/pkgs/applications/science/misc/vite/larger-line-buffer.patch
Ludovic Courtès 35cbabdab4 ViTE from SVN.
svn path=/nixpkgs/trunk/; revision=22696
2010-07-22 09:01:42 +00:00

14 lines
305 B
Diff

ViTE has an arbitrary restriction on the length of lines read by the parser.
Make it larger.
--- a/src/parser/PajeFileManager.hpp
+++ b/src/parser/PajeFileManager.hpp
@@ -67,7 +67,7 @@
#include <string.h>
-#define _PAJE_BUFSIZE 256
+#define _PAJE_BUFSIZE 16384
#define _PAJE_NBMAXTKS 16
/**