]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: spelling nits
authorViktor Szakats <commit@vsz.me>
Thu, 29 Sep 2022 21:29:04 +0000 (21:29 +0000)
committerViktor Szakats <commit@vsz.me>
Thu, 29 Sep 2022 21:29:04 +0000 (21:29 +0000)
- MingW -> MinGW (Minimalist GNU for Windows)
- f.e. -> e.g.
- some whitespace and punctuation.

Reviewed-by: Daniel Stenberg
Closes #9622

.github/scripts/spellcheck.words
docs/FAQ
docs/INSTALL.md
docs/examples/Makefile.m32
lib/Makefile.m32
lib/curl_setup.h
lib/urldata.h
lib/vtls/schannel.c
packages/DOS/README
src/Makefile.m32
src/tool_operate.c

index 95e5c8e6872e443fb778b29882810c4d4fd66127..93ff635e2d0873ff560e99a86020e6fa917f53f1 100644 (file)
@@ -426,7 +426,7 @@ Micrium
 MicroBlaze
 MicroOS
 mingw
-MingW
+MinGW
 MINIX
 misconfigured
 Mishyn
index 1a0b31c9f3d49f16b99779d2e24c9d1920351468..c8ba7feb3d6fc5f22f6d91c14a06d3387a126f45 100644 (file)
--- a/docs/FAQ
+++ b/docs/FAQ
@@ -1209,7 +1209,7 @@ FAQ
 
        Target:          static lib.   import lib for libcurl*.dll.
        -----------------------------------------------------------
-       MingW:           libcurl.a     libcurldll.a
+       MinGW:           libcurl.a     libcurldll.a
        MSVC (release):  libcurl.lib   libcurl_imp.lib
        MSVC (debug):    libcurld.lib  libcurld_imp.lib
        Borland:         libcurl.lib   libcurl_imp.lib
index 306df16dd1a1d20d1966935523db61a0fb12fb02..52b0c2e404a65f0a18b251f69c07c177ac3cd7ae 100644 (file)
@@ -149,9 +149,9 @@ multi-threaded dynamic C runtime.
 
  If you get linkage errors read section 5.7 of the FAQ document.
 
-## MingW32
+## MinGW32
 
-Make sure that MingW32's bin directory is in the search path, for example:
+Make sure that MinGW32's bin directory is in the search path, for example:
 
 ```cmd
 set PATH=c:\mingw32\bin;%PATH%
index cc1fc9772e3124388a3199783101cd05f4a1782e..3d393e9b271997859cb72c7a1df15ff3b3942a46 100644 (file)
 
 ###########################################################################
 #
-## Makefile for building curl examples with MingW (GCC-3.2 or later)
+## Makefile for building curl examples with MinGW (GCC-3.2 or later)
 ## and optionally OpenSSL (1.0.2a), libssh2 (1.5), zlib (1.2.8), librtmp (2.4),
 ## brotli (1.0.1), zstd (1.4.5)
 ##
 ## Usage:   mingw32-make -f Makefile.m32 CFG=-feature1[-feature2][-feature3][...]
 ## Example: mingw32-make -f Makefile.m32 CFG=-zlib-ssl-sspi-winidn
 ##
-## Hint: you can also set environment vars to control the build, f.e.:
+## Hint: you can also set environment vars to control the build, e.g.:
 ## set ZLIB_PATH=c:/zlib-1.2.8
 ## set ZLIB=1
 #
index 9b8a31569d26f488c859cb0f8d0f8c111cc04070..698d02861e42ba5d54cfd7c08612a6de23276aff 100644 (file)
 
 ###########################################################################
 #
-## Makefile for building libcurl.a with MingW (GCC-3.2 or later or LLVM/Clang)
+## Makefile for building libcurl.a with MinGW (GCC-3.2 or later or LLVM/Clang)
 ## and optionally OpenSSL (1.0.2a), libssh2 (1.5), zlib (1.2.8), librtmp (2.4),
 ## brotli (1.0.1), zstd (1.4.5)
 ##
 ## Usage:   mingw32-make -f Makefile.m32 CFG=-feature1[-feature2][-feature3][...]
 ## Example: mingw32-make -f Makefile.m32 CFG=-zlib-ssl-sspi-winidn
 ##
-## Hint: you can also set environment vars to control the build, f.e.:
+## Hint: you can also set environment vars to control the build, e.g.:
 ## set ZLIB_PATH=c:/zlib-1.2.8
 ## set ZLIB=1
 #
index 03a6afc4f6beee2b713f8332c893c34eaaafae1a..ac27b130c60cc97f26f87b3fcecd86101b22c5e0 100644 (file)
 #define SHUT_RDWR 0x02
 #endif
 
-/* Define S_ISREG if not defined by system headers, f.e. MSVC */
+/* Define S_ISREG if not defined by system headers, e.g. MSVC */
 #if !defined(S_ISREG) && defined(S_IFMT) && defined(S_IFREG)
 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
 #endif
 
-/* Define S_ISDIR if not defined by system headers, f.e. MSVC */
+/* Define S_ISDIR if not defined by system headers, e.g. MSVC */
 #if !defined(S_ISDIR) && defined(S_IFMT) && defined(S_IFDIR)
 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
 #endif
index 580466a6122fb1ce156dc18f52ba1eb4852edc28..6fbff19d18b980bf579ea312ce1269da87a16b0d 100644 (file)
@@ -580,7 +580,7 @@ struct Curl_async {
   struct Curl_dns_entry *dns;
   struct thread_data *tdata;
   void *resolver; /* resolver state, if it is used in the URL state -
-                     ares_channel f.e. */
+                     ares_channel e.g. */
   int port;
   int status; /* if done is TRUE, this is the status from the callback */
   BIT(done);  /* set TRUE when the lookup is complete */
index 50928aee6157641cd276ea94734a37fb66aaf677..2653f5dfc475c7bcc88ad8671cdff9cc912be7c8 100644 (file)
 #define BCRYPT_SHA384_ALGORITHM L"SHA384"
 #endif
 
-/* Workaround broken compilers like MingW.
+/* Workaround broken compilers like MinGW.
    Return the number of elements in a statically sized array.
 */
 #ifndef ARRAYSIZE
index cc9da379ed5b508b2dc6949444127fde4ea73658..8336efa412b73bc77f2cb74019cc933d50b4f88d 100644 (file)
@@ -1,4 +1,4 @@
-Gisle Vanem made curl build fine on DOS (and MingW) with djgpp, OpenSSL and his
+Gisle Vanem made curl build fine on DOS (and MinGW) with djgpp, OpenSSL and his
 Watt-32 stack.
 
 'make -f Makefile.dist djgpp' in the root curl dir should build it fine.
@@ -11,7 +11,7 @@ Note 1: djgpp 2.04 beta has a sscanf() bug so the URL parsing isn't
 Note 2: Compile Watt-32 (and OpenSSL) with the same version of djgpp.
         Otherwise things go wrong because things like FS-extensions and
         errnos have been changed between releases.
-        
+
 Note 3: Several 'USE_x' variables in 'common.dj' are on the 'USE_x ?= 0'
         form (conditional variable assignment). So one can build like this:
           c:\curl\lib> make -f makefile.dj USE_OPENSSL=1 USE_ZLIB=1 clean all
index 633cbaeb8b562de54facd206a079ccacd8145798..7bc09e739dd7accc104eae5241bab62f0531c85e 100644 (file)
 
 ###########################################################################
 #
-## Makefile for building curl.exe with MingW (GCC-3.2 or later or LLVM/Clang)
+## Makefile for building curl.exe with MinGW (GCC-3.2 or later or LLVM/Clang)
 ## and optionally OpenSSL (1.0.2a), libssh2 (1.5), zlib (1.2.8), librtmp (2.4),
 ## brotli (1.0.1), zstd (1.4.5)
 ##
 ## Usage:   mingw32-make -f Makefile.m32 CFG=-feature1[-feature2][-feature3][...]
 ## Example: mingw32-make -f Makefile.m32 CFG=-zlib-ssl-sspi-winidn
 ##
-## Hint: you can also set environment vars to control the build, f.e.:
+## Hint: you can also set environment vars to control the build, e.g.:
 ## set ZLIB_PATH=c:/zlib-1.2.8
 ## set ZLIB=1
 #
index 5868188301f5ce3807a3eaa338e725c6ebc24607..a541400164feabe2ec76ae585e88408c88999b7b 100644 (file)
@@ -273,11 +273,11 @@ static CURLcode pre_transfer(struct GlobalConfig *global,
     /* VMS Note:
      *
      * Reading binary from files can be a problem...  Only FIXED, VAR
-     * etc WITHOUT implied CC will work Others need a \n appended to a
-     * line
+     * etc WITHOUT implied CC will work. Others need a \n appended to
+     * line
      *
-     * - Stat gives a size but this is UNRELIABLE in VMS As a f.e. a
-     * fixed file with implied CC needs to have a byte added for every
+     * - Stat gives a size but this is UNRELIABLE in VMS. E.g.
+     * fixed file with implied CC needs to have a byte added for every
      * record processed, this can be derived from Filesize & recordsize
      * for VARiable record files the records need to be counted!  for
      * every record add 1 for linefeed and subtract 2 for the record