diff options
author | 2010-09-01 17:35:47 +0800 | |
---|---|---|
committer | 2010-09-01 12:53:21 +0100 | |
commit | 08e6e37a3ebd4ef278d73373c0b5c4b6d68e54f6 (patch) | |
tree | 25bd1cab204d5fe8e94962979d66b39c0c612014 | |
parent | c67fb710ea674285ef03d6a6f160a4ffbac669a4 (diff) | |
download | anjuta-poky-08e6e37a3ebd4ef278d73373c0b5c4b6d68e54f6.tar.gz anjuta-poky-08e6e37a3ebd4ef278d73373c0b5c4b6d68e54f6.tar.bz2 anjuta-poky-08e6e37a3ebd4ef278d73373c0b5c4b6d68e54f6.zip |
Increase script file read buf max length
This is a bug fix for bigger PATH script file. I found latest PATH
length in environment-setupXXX files exceeds 1000, so I increase this
read buffer max length, making sure that the path is not cut.
Signed-off-by: Liping Ke <liping.ke@intel.com>
-rw-r--r-- | src/beaver-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/beaver-util.h b/src/beaver-util.h index 1cee3d1..2cee44a 100644 --- a/src/beaver-util.h +++ b/src/beaver-util.h @@ -27,7 +27,7 @@ #include <libanjuta/libanjuta.h> #include <libanjuta/interfaces/ianjuta-message-manager.h> -#define MAX_CONFIG_LENGTH 1000 +#define MAX_CONFIG_LENGTH 2048 #define ENV_SCRIPT_FILE_PREFIX "environment-setup-" void beaver_util_message_view_buffer_flushed_cb (IAnjutaMessageView *view, |