calling memset explicitly.
2003-09-03 Christopher Faylor <cgf@redhat.com>
+ * cxx.cc (new): Fix formatting. Just return result of ccalloc rather
+ than calling memset explicitly.
+
+2003-09-03 Christopher Faylor <cgf@redhat.com>
+
* exceptions.cc (set_process_mask): Set pending signals only when
signals become unmasked.
* sigproc.cc (pending_signals): Flip back to a global.
/* cxx.cc
- Copyright 2002 Red Hat, Inc.
+ Copyright 2002, 2003 Red Hat, Inc.
This file is part of Cygwin.
void *
operator new (size_t s)
{
- void *p = malloc (s);
- if (p)
- memset (p,0,s);
+ void *p = calloc (1, s);
return p;
}
{
api_fatal ("pure virtual method called");
}
-
#endif