Browse Source

Don't use bzero

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
0e390d69a8
  1. 3
      src/node_stdio.cc

3
src/node_stdio.cc

@ -207,8 +207,7 @@ void Stdio::Initialize(v8::Handle<v8::Object> target) {
NODE_SET_METHOD(target, "setRawMode", SetRawMode);
NODE_SET_METHOD(target, "getColumns", GetColumns);
struct sigaction sa;
bzero(&sa, sizeof(sa));
struct sigaction sa = {0};
sa.sa_handler = HandleSIGCONT;
sigaction(SIGCONT, &sa, NULL);
}

Loading…
Cancel
Save