Viktor,

I've added a define to postinst.prg

#define hb_FCopy( x, y )   __COPYFILE( x, y )

and this is what I got

! 'sddodbc' library skipped ('odbc' not supported on os2 platform)
! 'hbxbp' library skipped (platform not supported)
./bin/os2/gcc/hbrun.exe --hb:gtcgi ./bin/postinst.prg
! Making e:\harbour\bin\hbmk.cfg...
Error BASE/2012  Create error: E:\repository\harbour\ChangeLog
(DOS Error 5) (Quit, Retry, Default)
Error BASE/2012  Create error: E:\repository\harbour\ChangeLog (DOS Error 5)
Called from __COPYFILE(0)
Called from MAIN(56)
Called from HB_HRBRUN(0)
Called from _APPMAIN(0)  make: *** [install] Error 1


Maurilio.


Viktor Szakáts wrote:
> Hi Maurilio,
> 
>> Viktor,
>>
>> we need a way to be able to tell whether pszSource && pszDest are indeed the
>> same file on disk and abort the copy.
> 
> That's a very tough thing to do, and IMO not 
> possible in a reliable (and portable) way.
> Files can have links, they can be mapped to 
> different network shares, etctec.
> 
> Can you test if __COPYFILE() also behaves like 
> this on OS/2?
> 
> Brgds,
> Viktor
> 
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 

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


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

Reply via email to