* cygcheck.cc (already_did): Avoid default constructors, which may require
exception support.
This commit is contained in:
parent
ebf139fbb8
commit
e47cd9cd5f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-01-17 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* cygcheck.cc (already_did): Avoid default constructors, which may
|
||||
require exception support.
|
||||
|
||||
2001-01-16 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
|
||||
|
||||
* cygpath.cc (main): Add options to show Desktop and Start
|
||||
|
|
|
@ -226,7 +226,7 @@ already_did (char *file)
|
|||
for (d = did; d; d = d->next)
|
||||
if (strcasecmp (d->file, file) == 0)
|
||||
return d;
|
||||
d = new Did;
|
||||
d = (Did *) malloc (sizeof (Did));
|
||||
d->file = strdup (file);
|
||||
d->next = did;
|
||||
d->state = DID_NEW;
|
||||
|
|
Loading…
Add table
Reference in a new issue