Re: ofxdump/ofxdump.cpp 1.26: Removing sys/stat.h

Benoit Gregoire <[email protected]> Sat, 29 Jul 2006 12:23:52 -0400
Newsgroups gmane.comp.finance.libofx.devel
Message-ID <[email protected]>
On Saturday 29 July 2006 01:09, ace jones wrote:
> Benoit, I see you reverted the check for the file existing due to a
> "system dependent header", without replacing it with an alternative.
>
> Is there no way to check for the existence of the file in a "system
> independent" manner?  ofxdump crashes otherwise.


Normally, checking the value of the pointer after the open() call would be the 
way.   Here ofxdump gives me a clean "Unable to open the input file" error.  
The flow could be improved, but it doesn't crash.  Can you trace where it 
crashes for you?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV