git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] doc: fix some typos

From
MÅMartin Ågren <martin.agren@gmail.com>
Date
Jan 2, 2021, 21:53 UTC
Message-ID
<CAN0heSojPyr=g5PBVmT4VTfxxKxzYcFXJ1jynM1tGuZSyQMykg@mail.gmail.com>
In-Reply-To
<pull.831.git.1609609214040.gitgitgadget@gmail.com>

On Sat, 2 Jan 2021 at 18:43, Thomas Ackermann via GitGitGadget <gitgitgadget@gmail.com> wrote:

[Snip several typo fixes in Documentation/, all of which I agree with.]
> diff --git a/contrib/buildsystems/CMakeLists.txt b/contrib/buildsystems/CMakeLists.txt
> index c151dd7257f..8f77baa678f 100644
> --- a/contrib/buildsystems/CMakeLists.txt
> +++ b/contrib/buildsystems/CMakeLists.txt
Hmm... This does not match the "doc:" prefix of the patch.
Show 7 quoted lines
> @@ -442,7 +442,7 @@ endif()
>  check_c_source_compiles("
>  #include <regex.h>
>  #ifndef REG_STARTEND
> -#error oops we dont have it
> +#error oops we don't have it
>  #endif

I don't think this is correct. This omission of the single quote somehow looks like it's done on purpose. I don't build using this system, but I tried making some silly code like this in another file, which I actually do use:

#if 0 #error might or mightn't work #endif

My compiler refused to compile: "error: missing terminating ' character [-Werror]". So I fear this change to CMakeLists.txt would make us needlessly fail to autodetect whatever it is we're looking for here.

If this change to CMakeLists.txt is dropped, this patch looks good to me.

Martin
Previous: Thomas Ackermann via GitGitGadgetNext: Felipe Contreras
Message 2 of 9 in “doc: fix some typos”
  1. doc: fix some typosThomas Ackermann via GitGitGadget, Jan 2, 2021
  2. Martin ÅgrenJan 2, 2021
  3. Felipe ContrerasJan 2, 2021
  4. Martin ÅgrenJan 2, 2021
  5. Felipe ContrerasJan 2, 2021
  6. Chris TorekJan 3, 2021
  7. doc: fix some typosThomas Ackermann via GitGitGadget, Jan 3, 2021
  8. Martin ÅgrenJan 3, 2021
  9. Junio C HamanoJan 6, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.