2010-06-15 13:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* contrib/xhb/xhbfs.c
    ! Fixed ISDIRECTORY() to work like originally intended.
      This effectively reverts breakage caused by this change:
        2009-07-06 10:06 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net>
          * source/rtl/file.c
          * Changed IsDirectory to fix IsDirectory( "\\machine\c" ) style call
            under windows platforms.
      BTW, in Harbour to achieve above effect, you can use
      native HB_DIREXISTS( "\\machine\c" ) function call.
This commit is contained in:
Viktor Szakats
2010-06-15 11:38:31 +00:00
parent 0be7b7bcb5
commit bdcde409a9
2 changed files with 12 additions and 1 deletions

View File

@@ -16,6 +16,17 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-06-15 13:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/xhbfs.c
! Fixed ISDIRECTORY() to work like originally intended.
This effectively reverts breakage caused by this change:
2009-07-06 10:06 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net>
* source/rtl/file.c
* Changed IsDirectory to fix IsDirectory( "\\machine\c" ) style call
under windows platforms.
BTW, in Harbour to achieve above effect, you can use
native HB_DIREXISTS( "\\machine\c" ) function call.
2010-06-15 13:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
* harbour-wce-spec

View File

@@ -57,7 +57,7 @@ HB_FUNC( ISDIRECTORY )
{
HB_BOOL bRetVal;
#if defined( __PLATFORM__WINDOWS )
#if defined( __PLATFORM__WINDOWS ) && 0 /* Document, but don't replicate xhb bug. */
bRetVal = hb_fsDirExists( hb_parcx( 1 ) );
#else
{