* cygcheck.cc (already_did): Avoid default constructors, which may require
exception support.
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user