diff options
Diffstat (limited to 'src/format.cc')
-rw-r--r-- | src/format.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/format.cc b/src/format.cc index d29c87b3..e0f74616 100644 --- a/src/format.cc +++ b/src/format.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2012, John Wiegley. All rights reserved. + * Copyright (c) 2003-2013, John Wiegley. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -129,7 +129,7 @@ format_t::element_t * format_t::parse_elements(const string& fmt, element_t * current = NULL; - char buf[1024]; + static char buf[65535]; char * q = buf; for (const char * p = fmt.c_str(); *p; p++) { |