#100000# fix mws build
This commit is contained in:
parent
359e231492
commit
b7ee7b0d61
1 changed files with 2 additions and 33 deletions
|
@ -2,9 +2,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: filecopy.cxx,v $
|
* $RCSfile: filecopy.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.3 $
|
* $Revision: 1.4 $
|
||||||
*
|
*
|
||||||
* last change: $Author: hr $ $Date: 2003-03-27 17:04:01 $
|
* last change: $Author: hjs $ $Date: 2003-10-30 17:41:24 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
|
@ -88,9 +88,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#ifndef PM2
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _COMDEP_HXX
|
#ifndef _COMDEP_HXX
|
||||||
#include "comdep.hxx"
|
#include "comdep.hxx"
|
||||||
|
@ -113,27 +111,6 @@
|
||||||
|
|
||||||
using namespace ::osl;
|
using namespace ::osl;
|
||||||
|
|
||||||
EA_Copier* EA_Copier::_pCopier = NULL;
|
|
||||||
|
|
||||||
//========================================================================
|
|
||||||
|
|
||||||
EA_Copier::~EA_Copier()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------
|
|
||||||
void EA_Copier::Register( EA_Copier* pCopier )
|
|
||||||
{
|
|
||||||
_pCopier = pCopier;
|
|
||||||
}
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------
|
|
||||||
|
|
||||||
EA_Copier* EA_Copier::Get()
|
|
||||||
{
|
|
||||||
return _pCopier;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|*
|
|*
|
||||||
|* FileCopier::FileCopier()
|
|* FileCopier::FileCopier()
|
||||||
|
@ -309,10 +286,6 @@ const Link& FileCopier::GetErrorHdl() const
|
||||||
|
|
||||||
#ifndef MAC
|
#ifndef MAC
|
||||||
|
|
||||||
#ifdef OS2
|
|
||||||
BOOL createLongNameEA ( const PCSZ pszPath, ULONG ulAttributes, const String& aLongName );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
FSysError FileCopier::DoCopy_Impl( const DirEntry &rSource, const DirEntry &rTarget,
|
FSysError FileCopier::DoCopy_Impl( const DirEntry &rSource, const DirEntry &rTarget,
|
||||||
BOOL bTop )
|
BOOL bTop )
|
||||||
{
|
{
|
||||||
|
@ -470,10 +443,6 @@ FSysError FileCopier::DoCopy_Impl( const DirEntry &rSource, const DirEntry &rTar
|
||||||
else
|
else
|
||||||
eRet = Error( aTargetStream.GetError(), 0, &aTarget );
|
eRet = Error( aTargetStream.GetError(), 0, &aTarget );
|
||||||
|
|
||||||
// ggf. EAs kopieren
|
|
||||||
if ( !eRet && EA_Copier::Get() && !EA_Copier::Get()->Copy( aSource, aTargetStream ) )
|
|
||||||
eRet = FSYS_ERR_UNKNOWN | ERRCODE_WARNING_MASK;
|
|
||||||
|
|
||||||
// unvollstaendiges File wieder loeschen
|
// unvollstaendiges File wieder loeschen
|
||||||
aTargetStream.Close();
|
aTargetStream.Close();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue