std: Up vec.with_c_str's stack buffer to 128

This matches @graydon's recommendation.
This commit is contained in:
Erick Tryzelaar 2013-09-20 13:25:02 -07:00
parent ca66b81283
commit 4868273d97

View File

@ -250,7 +250,7 @@ impl<'self> ToCStr for &'self str {
}
// The length of the stack allocated buffer for `vec.with_c_str()`
static BUF_LEN: uint = 32;
static BUF_LEN: uint = 128;
impl<'self> ToCStr for &'self [u8] {
fn to_c_str(&self) -> CString {