EDS change request
- Posted by Frank Dowling <frank at f?ankied.com> Jul 06, 2007
- 545 views
This is not a major problem at all, you can easily fix it with inline code within the calling program - but I propose a very minor change within the database.e file, for the sake of completeness of EXW completely supporting the forwardslash only. I couldn't work out why the hell db_compress() was failing for an hour or so, I was really scratching my head. The forwardslash works fine in *all* aspects of Euphoria IO except for db_compress (windows doesn't like the copy path). Given that the database.e include file is part of the actual euphoria distribution,I think it'd be pertinent to include default support for the forwardslash within the windows distribution. My code tends to look like this, given when developing websites I use one set of code which will work on either linux/apache or windows/apache without modification:
include mod/cgi/http.e include mod/cgi/whatever.e fn = open("raw.log","a") puts(fn,xdate) x = db_open("pvt/eds/cms.edb",DB_LOCK_NO) ? db_select_table("cmsx") ? db_find_key("menu_tree")
... so after a long time doing this (and never using db_compress()) it never occured to me what the problem was.