X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FArchiver%2FArchiveTar.php;h=716511edee29c85dfe38595c5489a45ee7fbab14;hb=refs%2Fheads%2Fd864;hp=24085cea9fe6ef1b5580b50db6e1c889664fd55a;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Archiver/ArchiveTar.php b/web/core/lib/Drupal/Core/Archiver/ArchiveTar.php index 24085cea9..716511ede 100644 --- a/web/core/lib/Drupal/Core/Archiver/ArchiveTar.php +++ b/web/core/lib/Drupal/Core/Archiver/ArchiveTar.php @@ -49,7 +49,7 @@ * The following changes have been done: * Added namespace Drupal\Core\Archiver. * Removed require_once 'PEAR.php'. - * Added defintion of OS_WINDOWS taken from PEAR.php. + * Added definition of OS_WINDOWS taken from PEAR.php. * Renamed class to ArchiveTar. * Removed extends PEAR from class. * Removed call parent:: __construct(). @@ -181,7 +181,7 @@ class ArchiveTar if ($data == "\37\213") { $this->_compress = true; $this->_compress_type = 'gz'; - // No sure it's enought for a magic code .... + // Not sure it's enough for a magic code .... } elseif ($data == "BZ") { $this->_compress = true; $this->_compress_type = 'bz2'; @@ -577,7 +577,7 @@ class ArchiveTar * indicated by $p_path. When relevant the memorized path of the * files/dir can be modified by removing the $p_remove_path path at the * beginning of the file/dir path. - * While extracting a file, if the directory path does not exists it is + * While extracting a file, if the directory path does not exist it is * created. * While extracting a file, if the file already exists it is replaced * without looking for last modification date. @@ -2385,7 +2385,7 @@ class ArchiveTar /** * Compress path by changing for example "/dir/foo/../bar" to "/dir/bar", - * rand emove double slashes. + * and remove double slashes. * * @param string $p_dir path to reduce *