about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/c_str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/c_str.rs b/src/libstd/c_str.rs
index 49db9e4f3b0..913a0cff47f 100644
--- a/src/libstd/c_str.rs
+++ b/src/libstd/c_str.rs
@@ -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 {