OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000284OMNeT++simulation kernelpublic2011-04-27 17:532011-05-06 10:39
Assigned Toandras 
PlatformOSOS Version
Product Version4.1 
Target VersionFixed in Version 
Summary0000284: isDirectory throws too much
DescriptionWe typically run simulation applications in parallel so that we can leverage multiple cores without having to deal with concurrency within a simulation run. However when we do this files and directories can be dynamically created and destroyed by the simulation (and related tools) as other simulations run.

Sometimes this will cause problems when omnet wants to walk directories because the isDirectory function throws on errors instead of simply returning false. The attached patch fixes this.
TagsNo tags attached.
Attached Filespatch file icon 0001-Fixed-isDirectory-so-that-it-does-not-throw-on-error.patch [^] (1,092 bytes) 2011-04-27 17:53 [Show Content]

- Relationships

-  Notes
andras (administrator)
2011-05-06 10:39

Fixed: now it only throws if stat() fails with some other error than "no such file or directory" (errno==ENOENT)

- Issue History
Date Modified Username Field Change
2011-04-27 17:53 jesjones New Issue
2011-04-27 17:53 jesjones File Added: 0001-Fixed-isDirectory-so-that-it-does-not-throw-on-error.patch
2011-05-06 10:39 andras Note Added: 0000435
2011-05-06 10:39 andras Status new => resolved
2011-05-06 10:39 andras Fixed in Version => 4.2b3
2011-05-06 10:39 andras Resolution open => fixed
2011-05-06 10:39 andras Assigned To => andras

Copyright © 2000 - 2022 MantisBT Team
Powered by Mantis Bugtracker