summary refs log tree commit diff
path: root/edit.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-23 13:45:28 -0400
committerJune McEnroe <june@causal.agency>2020-03-23 13:45:28 -0400
commit7ea1a416a1114085b272537b2b1b0f0d1fd3fd42 (patch)
tree45c1afe2b8713d7649bdc35968d9ff8e081c4b26 /edit.c
parentAssume worst case for unknown user and host in splitMessage (diff)
downloadcatgirl-7ea1a416a1114085b272537b2b1b0f0d1fd3fd42.tar.gz
catgirl-7ea1a416a1114085b272537b2b1b0f0d1fd3fd42.zip
Bump edit buffer cap to 1024
With message splitting it's reasonable to allow this to be larger.
Diffstat (limited to 'edit.c')
-rw-r--r--edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.c b/edit.c
index a0ec333..720d7fd 100644
--- a/edit.c
+++ b/edit.c
@@ -24,7 +24,7 @@
 
 #include "chat.h"
 
-enum { Cap = 512 };
+enum { Cap = 1024 };
 static wchar_t buf[Cap];
 static size_t len;
 static size_t pos;
an title='2018-05-28 17:12:22 +0800'>2018-05-28exec: Return 126 on most errors in shellexecHerbert Xu 2018-05-17Release 0.5.10.2.Herbert Xu 2018-05-15parser: Fix incorrect eating of backslash newlinesHerbert Xu 2018-05-10Release 0.5.10.1.Herbert Xu 2018-05-09jobs - Do not block when waiting on SIGCHLDHerbert Xu 2018-05-03Release 0.5.10.Herbert Xu 2018-04-19eval: Variable assignments on functions are no longer persistentHerbert Xu 2018-04-19parser: Fix parameter expansion inside inner double quotesHerbert Xu 2018-04-19parser: Fix parsing of ${}Herbert Xu 2018-04-19man: correct typos, iff -> ifMartijn Dekker 2018-04-19expand: Do not quote backslashes in unquoted parameter expansionHerbert Xu 2018-04-19shell: Add subdir-objects to AM_INIT_AUTOMAKEJason Bowen 2018-04-19eval: Restore input files in evalcommandHerbert Xu 2018-04-19eval: Reap zombies after built-in commands and functionsHerbert Xu 2018-04-19redir: Fix typo in noclobber codeHerbert Xu 2018-04-19expand: Fix glibc glob(3) supportHerbert Xu 2018-04-02expand: Fix buffer overflow in expandmetaHerbert Xu 2018-04-02builtin: Move echo space/nl handling into print_escape_strHerbert Xu 2018-04-02builtin: Fix echo performance regressionHerbert Xu 2018-04-02expand: Fix ghost fields with unquoted $@/$*Herbert Xu 2018-04-02parser: Allow newlines within parameter substitutionHerbert Xu 2018-04-02expand: Fix bugs with words connected to the right of $@Herbert Xu 2018-03-25Revert "[BUILTIN] Remove unnecessary restoration of format string in printf"Herbert Xu 2018-03-22parser: Fix backquote support in here-document EOF markHerbert Xu