Diego,

You're right. This is the patch (will be in the next release...)

Wim.

@@ -356,11 +356,11 @@ void
Configuration::readApplicationSettings(xml_node<> *app)
 }

 void Configuration::readConfiguration(const std::string& configurationFile,
                                      const std::string& startupMessage)
 {
-  std::ifstream s(configurationFile.c_str());
+  std::ifstream s(configurationFile.c_str(), std::ios::in | std::ios::binary);
   if (!s)
     return;

   s.seekg(0, std::ios::end);
   int length = s.tellg();


2010/3/17 Diego Cantor-Rivera <[email protected]>:
> So I finally found the problem with the parser. I thought it could be one of
> those Windows/Unix differences so I copied wt_config.xml to wt_config_u.xml
> and I changed all the end of lines from CR LF (with Notepad++) to Unix
> terminations LF.
>
> Now hello.wt is up and running!
>
> Diego.
> --
>
>  Diego Cantor-Rivera
>  Ph.D.Student in Biomedical Engineering, University of Western Ontario
>  Imaging Research Laboratories, Robarts Research Institute
>  P.O. Box 5015, 100 Perth Drive, London, ON, Canada N6A 5K8
>  email: dcantor <at>imaging.robarts.ca
>  Visit me at: http://bit.ly/dcantor/
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to