<feed xmlns='http://www.w3.org/2005/Atom'>
<title>curl/docs/examples, branch master</title>
<subtitle>cURL mirror with patches applied
</subtitle>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/'/>
<entry>
<title>examples/http2-down/upload: add error checks</title>
<updated>2020-06-01T22:14:08+00:00</updated>
<author>
<name>Radoslav Georgiev</name>
<email>rgeorgiev583@gmail.com</email>
</author>
<published>2020-05-26T16:42:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=abfd154efd5de2cc3c73ff50b9a489651fb2a5b6'/>
<id>abfd154efd5de2cc3c73ff50b9a489651fb2a5b6</id>
<content type='text'>
If `index.html` does not exist in the directory from which the example
is invoked, the fopen(upload, "rb") invocation in `setup` would fail,
returning NULL.  This value is subsequently passed as the FILE* argument
of the `fread` invocation in the `read_callback` function, which is the
actual cause of the crash (apparently `fread` assumes that argument to
be non-null).

In addition, mitigate some possible crashes of similar origin.

Closes #5463
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If `index.html` does not exist in the directory from which the example
is invoked, the fopen(upload, "rb") invocation in `setup` would fail,
returning NULL.  This value is subsequently passed as the FILE* argument
of the `fread` invocation in the `read_callback` function, which is the
actual cause of the crash (apparently `fread` assumes that argument to
be non-null).

In addition, mitigate some possible crashes of similar origin.

Closes #5463
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/ephiperfifo: turn off interval when setting timerfd</title>
<updated>2020-06-01T22:11:38+00:00</updated>
<author>
<name>kotoriのねこ</name>
<email>2567702743@qq.com</email>
</author>
<published>2020-06-01T17:51:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=066b30323182193bd034cf86af03d3713c2004ec'/>
<id>066b30323182193bd034cf86af03d3713c2004ec</id>
<content type='text'>
Reported-by: therealhirudo on github
Fixes #5485
Closes #5497
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported-by: therealhirudo on github
Fixes #5485
Closes #5497
</pre>
</div>
</content>
</entry>
<entry>
<title>all: fix codespell errors</title>
<updated>2020-05-25T19:44:04+00:00</updated>
<author>
<name>Viktor Szakats</name>
<email>commit@vsz.me</email>
</author>
<published>2020-05-25T19:44:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=308c243db5b7425b454a981d4c0eb7bfac374b8b'/>
<id>308c243db5b7425b454a981d4c0eb7bfac374b8b</id>
<content type='text'>
Reviewed-by: Jay Satiro
Reviewed-by: Daniel Stenberg
Closes https://github.com/curl/curl/pull/5452
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Jay Satiro
Reviewed-by: Daniel Stenberg
Closes https://github.com/curl/curl/pull/5452
</pre>
</div>
</content>
</entry>
<entry>
<title>source cleanup: remove all custom typedef structs</title>
<updated>2020-05-15T06:54:42+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-13T22:05:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=8df455479f8801bbebad8839fc96abbffa711603'/>
<id>8df455479f8801bbebad8839fc96abbffa711603</id>
<content type='text'>
 - Stick to a single unified way to use structs
 - Make checksrc complain on 'typedef struct {'
 - Allow them in tests, public headers and examples

 - Let MD4_CTX, MD5_CTX, and SHA256_CTX typedefs remain as they actually
   typedef different types/structs depending on build conditions.

Closes #5338
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Stick to a single unified way to use structs
 - Make checksrc complain on 'typedef struct {'
 - Allow them in tests, public headers and examples

 - Let MD4_CTX, MD5_CTX, and SHA256_CTX typedefs remain as they actually
   typedef different types/structs depending on build conditions.

Closes #5338
</pre>
</div>
</content>
</entry>
<entry>
<title>checksrc: enhance the ASTERISKSPACE and update code accordingly</title>
<updated>2020-05-13T22:02:05+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-13T10:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=66b077576313eda129bce9f58fdc894d857cb121'/>
<id>66b077576313eda129bce9f58fdc894d857cb121</id>
<content type='text'>
Fine: "struct hello *world"

Not fine: "struct hello* world" (and variations)

Closes #5386
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fine: "struct hello *world"

Not fine: "struct hello* world" (and variations)

Closes #5386
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: remove asiohiper.cpp</title>
<updated>2020-05-02T10:29:58+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-02T09:55:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=9d47ff53230f515716c66bc5993b09f58f815893'/>
<id>9d47ff53230f515716c66bc5993b09f58f815893</id>
<content type='text'>
This example has repeatedly been reported to contain bugs, and as users
copy and paste code from this into production, I now deem it better to
not provide the example at all.

Closes #5090
Closes #5322
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This example has repeatedly been reported to contain bugs, and as users
copy and paste code from this into production, I now deem it better to
not provide the example at all.

Closes #5090
Closes #5322
</pre>
</div>
</content>
</entry>
<entry>
<title>src: Remove C99 constructs to ensure C89 compliance</title>
<updated>2020-04-19T19:56:52+00:00</updated>
<author>
<name>Tom</name>
<email>tomaviv57@gmail.com</email>
</author>
<published>2020-04-17T14:53:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=207a6cbb909ba6df01ba5ed8f73acc733128bdf1'/>
<id>207a6cbb909ba6df01ba5ed8f73acc733128bdf1</id>
<content type='text'>
This fixes the error: 'for' loop initial declaration used outside C99
mode by declaring the loop increment variable in the beginning of the
block instead of inside the for loop.

Fixes #5254
Reviewed-by: Daniel Gustafsson &lt;daniel@yesql.se&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the error: 'for' loop initial declaration used outside C99
mode by declaring the loop increment variable in the beginning of the
block instead of inside the for loop.

Fixes #5254
Reviewed-by: Daniel Gustafsson &lt;daniel@yesql.se&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/sessioninfo.c: add include to fix compiler warning</title>
<updated>2020-03-31T12:32:29+00:00</updated>
<author>
<name>Gisle Vanem</name>
<email>gisle.vanem@gmail.com</email>
</author>
<published>2020-03-31T12:32:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=e37dc71eaeb40b37c4c6a2dce2f9daf925f23118'/>
<id>e37dc71eaeb40b37c4c6a2dce2f9daf925f23118</id>
<content type='text'>
Fixes #5171
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #5171
</pre>
</div>
</content>
</entry>
<entry>
<title>copyright: fix out-of-date copyright ranges and missing headers</title>
<updated>2020-03-24T14:05:59+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-03-23T13:44:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=9a8b3b3e131359aea1cac650fb6ac331fbe2047c'/>
<id>9a8b3b3e131359aea1cac650fb6ac331fbe2047c</id>
<content type='text'>
Reported by the new script 'scripts/copyright.pl'. The script has a
regex whitelist for the files that don't need copyright headers.

Removed three (mostly usesless) README files from docs/

Closes #5141
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by the new script 'scripts/copyright.pl'. The script has a
regex whitelist for the files that don't need copyright headers.

Removed three (mostly usesless) README files from docs/

Closes #5141
</pre>
</div>
</content>
</entry>
<entry>
<title>Makefile.m32: Improve windres parameter compatibility</title>
<updated>2020-03-14T23:08:17+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2020-03-14T06:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=67f3f6cff19ed323849280316c592969ab97ee21'/>
<id>67f3f6cff19ed323849280316c592969ab97ee21</id>
<content type='text'>
- s/COFF/coff/

Some versions of windres do not recognize uppercase COFF as a valid
way to specify the COFF output format.

Reported-by: Steven Penny

Fixes https://github.com/curl/curl/issues/5099
Closes https://github.com/curl/curl/pull/5101
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/COFF/coff/

Some versions of windres do not recognize uppercase COFF as a valid
way to specify the COFF output format.

Reported-by: Steven Penny

Fixes https://github.com/curl/curl/issues/5099
Closes https://github.com/curl/curl/pull/5101
</pre>
</div>
</content>
</entry>
</feed>
