diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-22 12:00:02 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-22 12:00:02 -0800 |
commit | 376e199ebb562672f415e548c9d127b24117f905 (patch) | |
tree | 9f433eaec84d8b0987aa0c455c4f7585fb26273b /proc.cpp | |
parent | a837a27b347e5c6b1669bbf83f7f0c0ce1c523df (diff) |
Removed a lot of string_buffer_t
Diffstat (limited to 'proc.cpp')
-rw-r--r-- | proc.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -119,16 +119,6 @@ int no_exec=0; static event_t event(0); /** - Stringbuffer used to create arguments when firing events -*/ -static string_buffer_t event_pid; - -/** - Stringbuffer used to create arguments when firing events -*/ -static string_buffer_t event_status; - -/** A stack containing the values of is_interactive. Used by proc_push_interactive and proc_pop_interactive. */ static std::deque<int> interactive_stack; @@ -137,8 +127,6 @@ void proc_init() { proc_push_interactive( 0 ); event.arguments.reset(new wcstring_list_t); - sb_init( &event_pid ); - sb_init( &event_status ); } @@ -208,8 +196,6 @@ void process_t::set_argv(const wcstring_list_t &argv) { void proc_destroy() { event.arguments.reset(NULL); - sb_destroy( &event_pid ); - sb_destroy( &event_status ); job_list_t &jobs = job_list(); while( ! jobs.empty() ) { |