From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24728 invoked by alias); 25 Nov 2016 19:45:51 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 24655 invoked by uid 89); 25 Nov 2016 19:45:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=locating, compressed, fil, sensitivity X-HELO: mail-wm0-f65.google.com Received: from mail-wm0-f65.google.com (HELO mail-wm0-f65.google.com) (74.125.82.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 Nov 2016 19:45:48 +0000 Received: by mail-wm0-f65.google.com with SMTP id m203so9146207wma.3 for ; Fri, 25 Nov 2016 11:45:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=ipGjZ2GWx+PVVER7D8LG3UPerX7SkDizfCYwsLBigcw=; b=ICOZAA+4AlpsObvCXm+KaYIHVm5pgOUgTMsX7LItORlL2XSYZ6lmW/v8GEjC4Xzvs+ kXOjfLwcFiLM8MFvuLeV/wOOVpaP08Z32G6p1tl8a+vrvGEpq01lpoVxamgSjaz43unI ReeKjmShfkmXcKK27dOlyrpBwgSvRJt6k8QiLnbmhzVsyNDAhU7e+RwszjfMzhAHtL1K 6zMp8XcOVxRo5QGnis674cBzVdR9X0Zq+rLHf843+hRok45yBQ/CGpy2T7gfDG3KjNGP krM0lM1BIL4ZCE6+9LmgYZudCEfRG/uUNT/zW+xvfJBENOYyrmdC3xrwCjr4w6Z9Ew29 ccKw== X-Gm-Message-State: AKaTC00VeF5y0jdQPPpDTIz8W36fi/Ip69nEZfeAgZNnkipjuSAxHqL/l1+dedfw4RpqiA== X-Received: by 10.28.55.203 with SMTP id e194mr8610975wma.6.1480103146375; Fri, 25 Nov 2016 11:45:46 -0800 (PST) Received: from localhost.localdomain ([95.180.71.38]) by smtp.googlemail.com with ESMTPSA id m145sm14933348wma.3.2016.11.25.11.45.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 Nov 2016 11:45:45 -0800 (PST) From: Ambrogino Modigliani X-Google-Original-From: Ambrogino Modigliani To: gdb-patches@sourceware.org, pedro_alves@portugalmail.pt, ambrogino.modigliani@gmail.com, ambrogino.modigliani@mail.com Subject: [PATCH 1/3] Fix spelling in comments in C source files (zlib) Date: Fri, 25 Nov 2016 19:45:00 -0000 Message-Id: <1480103124-9508-2-git-send-email-ambrogino.modigliani@mail.com> In-Reply-To: <1480103124-9508-1-git-send-email-ambrogino.modigliani@mail.com> References: <1480103124-9508-1-git-send-email-ambrogino.modigliani@mail.com> X-SW-Source: 2016-11/txt/msg00837.txt.bz2 zlib/ChangeLog: * contrib/minizip/ioapi.h: Fix spelling in comments. * contrib/minizip/miniunz.c: Fix spelling in comments. * contrib/minizip/minizip.c: Fix spelling in comments. * contrib/minizip/unzip.c: Fix spelling in comments. * contrib/minizip/unzip.h: Fix spelling in comments. * contrib/minizip/zip.c: Fix spelling in comments. * examples/enough.c: Fix spelling in comments. * examples/zran.c: Fix spelling in comments. --- zlib/contrib/minizip/ioapi.h | 2 +- zlib/contrib/minizip/miniunz.c | 2 +- zlib/contrib/minizip/minizip.c | 4 ++-- zlib/contrib/minizip/unzip.c | 8 ++++---- zlib/contrib/minizip/unzip.h | 4 ++-- zlib/contrib/minizip/zip.c | 2 +- zlib/examples/enough.c | 2 +- zlib/examples/zran.c | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/zlib/contrib/minizip/ioapi.h b/zlib/contrib/minizip/ioapi.h index 8dcbdb0..e19f5c2 100644 --- a/zlib/contrib/minizip/ioapi.h +++ b/zlib/contrib/minizip/ioapi.h @@ -82,7 +82,7 @@ #include "mz64conf.h" #endif -/* a type choosen by DEFINE */ +/* a type chosen by DEFINE */ #ifdef HAVE_64BIT_INT_CUSTOM typedef 64BIT_INT_CUSTOM_TYPE ZPOS64_T; #else diff --git a/zlib/contrib/minizip/miniunz.c b/zlib/contrib/minizip/miniunz.c index 3d65401b..6ca6858 100644 --- a/zlib/contrib/minizip/miniunz.c +++ b/zlib/contrib/minizip/miniunz.c @@ -607,7 +607,7 @@ int main(argc,argv) # endif strncpy(filename_try, zipfilename,MAXFILENAME-1); - /* strncpy doesnt append the trailing NULL, of the string is too long. */ + /* strncpy doesn't append the trailing NULL, of the string is too long. */ filename_try[ MAXFILENAME ] = '\0'; # ifdef USEWIN32IOAPI diff --git a/zlib/contrib/minizip/minizip.c b/zlib/contrib/minizip/minizip.c index 4288962..b13ca60 100644 --- a/zlib/contrib/minizip/minizip.c +++ b/zlib/contrib/minizip/minizip.c @@ -113,7 +113,7 @@ uLong filetime(f, tmzip, dt) len = MAXFILENAME; strncpy(name, f,MAXFILENAME-1); - /* strncpy doesnt append the trailing NULL, of the string is too long. */ + /* strncpy doesn't append the trailing NULL, of the string is too long. */ name[ MAXFILENAME ] = '\0'; if (name[len - 1] == '/') @@ -322,7 +322,7 @@ int main(argc,argv) zipok = 1 ; strncpy(filename_try, argv[zipfilenamearg],MAXFILENAME-1); - /* strncpy doesnt append the trailing NULL, of the string is too long. */ + /* strncpy doesn't append the trailing NULL, of the string is too long. */ filename_try[ MAXFILENAME ] = '\0'; len=(int)strlen(filename_try); diff --git a/zlib/contrib/minizip/unzip.c b/zlib/contrib/minizip/unzip.c index 9093504..cbc482c 100644 --- a/zlib/contrib/minizip/unzip.c +++ b/zlib/contrib/minizip/unzip.c @@ -53,7 +53,7 @@ Oct-2009 - Mathias Svensson - Fixed problem if uncompressed size was > 4G and compressed size was <4G should only read the compressed/uncompressed size from the Zip64 format if the size from normal header was 0xFFFFFFFF - Oct-2009 - Mathias Svensson - Applied some bug fixes from paches recived from Gilles Vollant + Oct-2009 - Mathias Svensson - Applied some bug fixes from paches received from Gilles Vollant Oct-2009 - Mathias Svensson - Applied support to unzip files with compression mathod BZIP2 (bzip2 lib is required) Patch created by Daniel Borca @@ -200,7 +200,7 @@ typedef struct /* =========================================================================== Read a byte from a gz_stream; update next_in and avail_in. Return EOF for end of file. - IN assertion: the stream s has been sucessfully opened for reading. + IN assertion: the stream s has been successfully opened for reading. */ @@ -380,8 +380,8 @@ local int strcmpcasenosensitive_internal (const char* fileName1, const char* fil /* Compare two filename (fileName1,fileName2). - If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp) - If iCaseSenisivity = 2, comparision is not case sensitivity (like strcmpi + If iCaseSenisivity = 1, comparison is case sensitivity (like strcmp) + If iCaseSenisivity = 2, comparison is not case sensitivity (like strcmpi or strcasecmp) If iCaseSenisivity = 0, case sensitivity is defaut of your operating system (like 1 on Unix, 2 on Windows) diff --git a/zlib/contrib/minizip/unzip.h b/zlib/contrib/minizip/unzip.h index 2104e39..9e7378d 100644 --- a/zlib/contrib/minizip/unzip.h +++ b/zlib/contrib/minizip/unzip.h @@ -155,8 +155,8 @@ extern int ZEXPORT unzStringFileNameCompare OF ((const char* fileName1, int iCaseSensitivity)); /* Compare two filename (fileName1,fileName2). - If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp) - If iCaseSenisivity = 2, comparision is not case sensitivity (like strcmpi + If iCaseSenisivity = 1, comparison is case sensitivity (like strcmp) + If iCaseSenisivity = 2, comparison is not case sensitivity (like strcmpi or strcasecmp) If iCaseSenisivity = 0, case sensitivity is defaut of your operating system (like 1 on Unix, 2 on Windows) diff --git a/zlib/contrib/minizip/zip.c b/zlib/contrib/minizip/zip.c index ea54853..976aad0 100644 --- a/zlib/contrib/minizip/zip.c +++ b/zlib/contrib/minizip/zip.c @@ -15,7 +15,7 @@ Oct-2009 - Mathias Svensson - Did some code cleanup and refactoring to get better overview of some functions. Oct-2009 - Mathias Svensson - Added zipRemoveExtraInfoBlock to strip extra field data from its ZIP64 data It is used when recreting zip archive with RAW when deleting items from a zip. - ZIP64 data is automaticly added to items that needs it, and existing ZIP64 data need to be removed. + ZIP64 data is automatically added to items that needs it, and existing ZIP64 data need to be removed. Oct-2009 - Mathias Svensson - Added support for BZIP2 as compression mode (bzip2 lib is required) Jan-2010 - back to unzip and minizip 1.0 name scheme, with compatibility layer diff --git a/zlib/examples/enough.c b/zlib/examples/enough.c index b991144..b81f502 100644 --- a/zlib/examples/enough.c +++ b/zlib/examples/enough.c @@ -402,7 +402,7 @@ local void examine(int syms, int len, int left, int mem, int rem) requires that maximum. Uses the globals max, root, and num. */ local void enough(int syms) { - int n; /* number of remaing symbols for this node */ + int n; /* number of remaining symbols for this node */ int left; /* number of unused bit patterns at this length */ size_t index; /* index of this case in *num */ diff --git a/zlib/examples/zran.c b/zlib/examples/zran.c index 278f9ad..b8c87e4 100644 --- a/zlib/examples/zran.c +++ b/zlib/examples/zran.c @@ -19,7 +19,7 @@ An access point can be created at the start of any deflate block, by saving the starting file offset and bit of that block, and the 32K bytes of uncompressed data that precede that block. Also the uncompressed offset of - that block is saved to provide a referece for locating a desired starting + that block is saved to provide a reference for locating a desired starting point in the uncompressed stream. build_index() works by decompressing the input zlib or gzip stream a block at a time, and at the end of each block deciding if enough uncompressed data has gone by to justify the creation of -- 2.7.4