mirror of
https://github.com/curl/curl.git
synced 2026-07-27 05:07:20 +03:00
badwords: check indented lines in source code, fix fallouts
- badwords.pl: add `-a` option to check all lines in source code files. Before this patch indented lines were skipped (to avoid Markdown code fences.) - GHA/checksrc: use `-a` when verifying the source code. - GHA/checksrc: disable `So` and `But` rules for source code. - GHA/checksrc: add docs/examples to the verified sources. - badwords.txt: delete 4 duplicates. - badwords.txt: group and sort contractions. - badwords.txt: allow ` url = `, `DIR`, `<file name`. Closes #19536
This commit is contained in:
parent
8a968095df
commit
2dc71ba8bf
73 changed files with 146 additions and 144 deletions
|
|
@ -133,7 +133,7 @@ static void mcode_or_die(const char *where, CURLMcode code)
|
|||
|
||||
static void timer_cb(struct GlobalInfo *g, int revents);
|
||||
|
||||
/* Update the timer after curl_multi library does its thing. Curl informs the
|
||||
/* Update the timer after curl_multi library does its thing. curl informs the
|
||||
* application through this callback what it wants the new timeout to be,
|
||||
* after it does some work. */
|
||||
static int multi_timer_cb(CURLM *multi, long timeout_ms, struct GlobalInfo *g)
|
||||
|
|
@ -219,7 +219,7 @@ static void timer_cb(struct GlobalInfo *g, int revents)
|
|||
err = read(g->tfd, &count, sizeof(uint64_t));
|
||||
if(err == -1) {
|
||||
/* Note that we may call the timer callback even if the timerfd is not
|
||||
* readable. It's possible that there are multiple events stored in the
|
||||
* readable. It is possible that there are multiple events stored in the
|
||||
* epoll buffer (i.e. the timer may have fired multiple times). The event
|
||||
* count is cleared after the first call so future events in the epoll
|
||||
* buffer fails to read from the timer. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue