Revision: 10207
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10207&view=rev
Author: vszakats
Date: 2009-02-08 21:36:57 +0000 (Sun, 08 Feb 2009)
Log Message:
-----------
2009-02-08 22:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapifs.h
* source/rtl/spfiles.c
+ Added hb_spFileExists(). Same as hb_spFile(), but uses
the more efficient (especially on networks) hb_fsFileExists()
call to check for file exitance.
[ not very elegant solution, as I've just copied the
whole function, and changed the file existance call, maybe
a worker function + passing the check function pointer
could help, but the hb_fsFile() and hb_fsFileExists() workings
differ slightly. ]
* source/rdd/dbfntx/dbfntx1.c
* source/rdd/dbfnsx/dbfnsx1.c
* source/rdd/dbfcdx/dbfcdx1.c
* source/rdd/dbf1.c
% Using hb_spFileExists() instead of hb_spFile().
This API also works for dirs where use doesn't have file listing
rights, which may create a slight incompatibility by finding
files which weren't found by former method (and by Clipper).
C:\WINDOWS\TEMP\*.* were such when logged in as non-admin user,
but this dir is only used as a default TEMP dir for DOS programs.
Please speak up if you find this issue (or something else) to
be problem.
* source/rtl/file.c
* File naming standardized.
* doc/whatsnew.txt
* Minor updates.
Modified Paths:
--------------
trunk/harbour/ChangeLog
trunk/harbour/doc/whatsnew.txt
trunk/harbour/include/hbapifs.h
trunk/harbour/source/rdd/dbf1.c
trunk/harbour/source/rdd/dbfcdx/dbfcdx1.c
trunk/harbour/source/rdd/dbfnsx/dbfnsx1.c
trunk/harbour/source/rdd/dbfntx/dbfntx1.c
trunk/harbour/source/rtl/file.c
trunk/harbour/source/rtl/spfiles.c
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour