FIx typos and grammar

This commit is contained in:
luz.paz
2019-10-03 17:37:56 -04:00
committed by wmayer
parent 6e2ff2e9e8
commit 3e79ba9d2b

View File

@@ -284,18 +284,18 @@ Cloud::CloudWriter::CloudWriter(const char* Url, const char* AccessKey, const ch
this->TcpPort=TcpPort;
this->Bucket=Bucket;
this->FileName="";
// Amazon S3 and Swift require the timezone to be define to
// GMT. As to simplify the conversion this is performed through the TZ
// Amazon S3 and Swift require the timezone to be define to GMT.
// As to simplify the conversion this is performed through the TZ
// environment variable and a call to localtime as to convert output of gettimeofday
#if defined(FC_OS_WIN32)
_putenv("TZ=GMT");
#else
setenv("TZ","GMT",1);
#endif
// We must check that the bucket exist or not. If not we have to create it
// We must request the bucketlist if we receive an error 404 it means that it doesn't exist
// other option the content list is empty
// That piece of code is the same than the Reader except we do not interpret it !
// We must check that the bucket exists or not. If not, we have to create it.
// We must request the bucketlist if we receive a 404 error. This means that it
// doesn't exist. The other option is that the content list is empty.
// This piece of code is the same as the Reader except we do not interpret it !
#if defined(FC_OS_WIN32)
#else
gettimeofday(&tv,NULL);