Fix a bug where wfopen would always fail

Removed some buffer_t
This commit is contained in:
ridiculousfish
2012-03-03 22:48:21 -08:00
parent 8a46931e34
commit 087940ec9e
5 changed files with 27 additions and 36 deletions

View File

@@ -173,11 +173,6 @@ static bool is_electric(const wcstring &key)
*/
static null_terminated_array_t<char> export_array;
/**
Buffer used for storing string contents for export_arr
*/
static buffer_t export_buffer;
/**
Flag for checking if we need to regenerate the exported variable
@@ -507,8 +502,6 @@ void env_init()
wchar_t *uname;
wchar_t *version;
b_init( &export_buffer );
/*
env_read_only variables can not be altered directly by the user
*/
@@ -671,8 +664,6 @@ void env_destroy()
{
env_universal_destroy();
b_destroy( &export_buffer );
while( &top->env != global )
{
env_pop();