Re: Problem with KL_DIRECTORY.exists on Windows
Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
neallester wrote: > I'm trying to build a windows binary of my swete application. When I > run the application, KL_DIRECTORY.exists returns false even through > the directory exists. i.e. > > directory: KL_DIRECTORY > > create directory.make (directory_name) > if not directory.exists then > directory.create_directory > end > > The execution fails with a permissions error at > directory.create_directory even though this statement should never be > executed because a directory with directory_name already exists on > disk. Same result replacing .exists with .is_readable > > It works fine on linux. Am I using KL_DIRECTORY incorrectly? If I remember correctly you are still using an old version ISE Eiffel. KL_DIRECTORY is implemented using ISE's DIRECTORY, and I think that there was a bug in this class in old versions of ISE Eiffel. You should try a more recent version of ISE Eiffel and see if the problem still occurs. -- Eric Bezault mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected] http://www.gobosoft.com