coryshrmn / websitecatalog

0 stars 1 forks source link

Menu: Delete a data #14

Closed ghost closed 11 years ago

ghost commented 11 years ago

Menu: Delete a data is not working for the following scenario:

CASE 1: filename: topsites.txt or top_25.txt // google.com is loaded

2: delete a website: google.com // $echo "not found"

3: search a website: google.com // $echo "not found"

6: print BST indented: google.com // shows that google still exists

CASE 2: filename: topsites.txt or top_25.txt // website_not_found.com is not loaded

2: delete a website: website_not_found.com // does not terminate the stdio scan

coryshrmn commented 11 years ago

The deletion actually does terminate the stdin scan, but hashRemove() has an infinte loop, as described in PlanB's README.md.

Not finding google.com is another part of the HashManager's bug.