Mercurial > ecos-v2_0-branch
changeset 788:c759da109f6b
* standalone/wxwin/docsystem.cpp: Eliminate pop-up warning when attempting
to create a directory under $HOME/.eCosDocs/ which already exists.
| author | jld |
|---|---|
| date | Thu, 10 Apr 2003 15:29:49 +0000 |
| parents | 549cd176c0b5 |
| children | 4eccdc2c0c7d |
| files | host/tools/configtool/ChangeLog host/tools/configtool/standalone/wxwin/docsystem.cpp |
| diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/host/tools/configtool/ChangeLog +++ b/host/tools/configtool/ChangeLog @@ -1,3 +1,9 @@ +2003-04-10 John Dallaway <jld@ecoscentric.com> + + * standalone/wxwin/docsystem.cpp: Eliminate pop-up warning when + attempting to create a directory under $HOME/.eCosDocs/ which already + exists. + 2003-04-07 John Dallaway <jld@ecoscentric.com> * standalone/wxwin/appsettings.cpp,
--- a/host/tools/configtool/standalone/wxwin/docsystem.cpp +++ b/host/tools/configtool/standalone/wxwin/docsystem.cpp @@ -2,6 +2,7 @@ // // ---------------------------------------------------------------------------- // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. +// Copyright (C) 2003 John Dallaway // // This program is part of the eCos host tools. // @@ -27,7 +28,7 @@ //=========================================================================== //#####DESCRIPTIONBEGIN#### // -// Author(s): julians +// Author(s): julians, jld // Contact(s): julians // Date: 2001/04/04 // Version: $Id: docsystem.cpp,v 1.19 2001/12/11 15:59:51 julians Exp $ @@ -794,7 +795,7 @@ wxString ecHtmlIndexer::FindIndexFilesDi } wxString name(ecMakeNameFromPath(reposDir)); wxString ecosVerDir = ecosDir + sep + name; - if (!wxFileExists(ecosVerDir)) + if (!wxDirExists(ecosVerDir)) { wxMkdir(ecosVerDir); }
