Portability: Updated to make main re-entrant()

- New INSTALL instructions to emscripten, and AUTHORS for contribution.
This commit is contained in:
Mark Scannell
2018-01-31 19:45:07 -05:00
committed by Paul Beckingham
parent 3d7c681ed0
commit c7f2739dda
110 changed files with 942 additions and 1125 deletions

View File

@@ -31,8 +31,6 @@
#include <Context.h>
#include <Command.h>
extern Context context;
////////////////////////////////////////////////////////////////////////////////
CmdZshAttributes::CmdZshAttributes ()
{
@@ -53,7 +51,7 @@ CmdZshAttributes::CmdZshAttributes ()
int CmdZshAttributes::execute (std::string& output)
{
// Get a list of all columns, sort them.
auto columns = context.getColumns ();
auto columns = Context::getContext ().getColumns ();
std::sort (columns.begin (), columns.end ());
std::stringstream out;