On Sun, 23 Mar 2008, David Arturo Macias Corona wrote: > This code: > DBCreate( cBase, aStruc, cRDD ) > where > cBase=/mnt/win_d/dat\sggopera.dbf > work fine with Mdva2008/Harbour June 2007 > But with Mdva2008/current Harbour result error: > Error DBFCDX/1004 Create error: /mnt/win_d/dat\sggopera.dbf;(Error DOS 13)
Exactly. It was a bug which still exist in xHarbour and in Harbour it was fixed. It was not possible to use "\" in files names in *nixes. Now it it. > Difference is management of separator "\" in dat\sggopera.dbf > Older Harbour use \ or /, while current Harbour does not accept \ (or > does not convert to / ) If you need such translation you have to enable it yourself. Now it's fully controlled by programmer not hard coded in RTL code. > Is not just case of DbCreate(). Previously is used FILE(cBase) and other > file operations > IF ! FILE( cBase ) > ... > DBCreate( cBase, ... ) > ENDIF > USE ( cBase ) > ... > Obviously there was a change of \ management in file operations > Suggestions to handle / review this change ? Now it's OK. Before it was wrong. Just like still in xHarbour. If you want to enable such translation then add to your code: SET DIRSEPARATOR "\" best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour