Ok,

I've found out :)

I have version 4.0 toolkit documentation, that is, OS/2 Warp4 level, the
lastest is 4.5, in 4.5 documentation you can read:

-----8<-----------
Information levels designated L should be used in order to get complete size
information for files larger than 2GB. If information levels designated L are
not used, a size of one byte will be returned for files which are >2GB in size.
----->8-----------

Given that in harbour there is no (at the moment at least) 64bit file support
for OS/2 I'd leave the current call.

Maurilio.

Maurilio Longo wrote:
> BTW,
> 
> firefox 3.x for OS/2 has this code
> 
> if (isWSEB)
>     {
>         rc = DosFindFirst( filename,
>                            &d->d_hdl,
>                            FILE_DIRECTORY | FILE_HIDDEN,
>                            &(d->d_entry.large),
>                            sizeof(d->d_entry.large),
>                            &numEntries,
>                            FIL_STANDARDL);
>     }
>     else
>     {
>         rc = DosFindFirst( filename,
>                            &d->d_hdl,
>                            FILE_DIRECTORY | FILE_HIDDEN,
>                            &(d->d_entry.small),
>                            sizeof(d->d_entry.small),
>                            &numEntries,
>                            FIL_STANDARD);
>     }
> 
> So it seems newer kernels can/have to(?) use the FIL_STANDARDL flag but,
> maybe, they work with the old one as well (my kernel is the last one).
> 
> Maurilio.
> 
> 

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to