Hi  Martin,

in gwen there is still one more place with the everlasting topic of windows 
directory separators: In src/parser/path.c the function GWEN_Path_Convert by 
means of GWEN_Path_AppendElement will construct a path with a hard-coded '/' 
as separator. Of course on windows this will give the wrong separator.

What should we do here? Are these functions really only used for directory 
path creation? If yes, then I'd just replace the hard-coded '/' by the 
appropriate macros. If no (i.e. if the functions are also used for some other 
abstract "path" that isn't used as a directory), then things are perhaps a 
bit more complicated.

Also, as for the aqhbci path for saving the bank messages, discussed earlier 
here http://article.gmane.org/gmane.comp.finance.aqbanking.devel/1047 , I 
think the escaping issue with the drive prefix could simply be solved by 
testing for path[1]==':' and if so, exclude the first two letters from 
escaping. If I understand correctly, the erroneous escaping happensin 
AH_HBCI_SaveSettings, when called from AH_HBCI_SaveMessage, where the 
full "path" is run through GWEN_Path_Convert at 
aqhbci/plugin/msglayer/hbci.c:874. Does that sound good to you?

Thanks,

Christian

-------------------------------------------------------------------------
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
_______________________________________________
Aqbanking-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to