<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/docs/examples/fopen.c, branch bagder/ftp-over-httpsproxy</title>
<subtitle>github.com: bagder/curl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/'/>
<entry>
<title>copyrights: fix copyright year range</title>
<updated>2019-11-08T13:51:42+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2019-11-02T22:41:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=0bc60d91de0eda5d1c7ec8033a75980f81a33a59'/>
<id>0bc60d91de0eda5d1c7ec8033a75980f81a33a59</id>
<content type='text'>
.. because checksrc's copyright year check stopped working.

Ref: https://github.com/curl/curl/pull/4547

Closes https://github.com/curl/curl/pull/4549
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
.. because checksrc's copyright year check stopped working.

Ref: https://github.com/curl/curl/pull/4547

Closes https://github.com/curl/curl/pull/4549
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/fopen: fix comparison</title>
<updated>2019-06-05T18:38:08+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2019-05-25T17:24:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=992083b1abe2f19947abe1d5ba01c488458f6e66'/>
<id>992083b1abe2f19947abe1d5ba01c488458f6e66</id>
<content type='text'>
As want is size_t, (file-&gt;buffer_pos - want) is unsigned, so checking
if it's less than zero makes no sense.
Check if file-&gt;buffer_pos is less than want instead to avoid the
unsigned integer wraparound.

Closes https://github.com/curl/curl/pull/3975
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As want is size_t, (file-&gt;buffer_pos - want) is unsigned, so checking
if it's less than zero makes no sense.
Check if file-&gt;buffer_pos is less than want instead to avoid the
unsigned integer wraparound.

Closes https://github.com/curl/curl/pull/3975
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Refactor malloc+memset to use calloc</title>
<updated>2018-04-15T07:00:37+00:00</updated>
<author>
<name>Daniel Gustafsson</name>
<email>daniel@yesql.se</email>
</author>
<published>2018-04-14T20:42:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=94400f32e9016d2eaea2db583f6e213c36b1eb1d'/>
<id>94400f32e9016d2eaea2db583f6e213c36b1eb1d</id>
<content type='text'>
When a zeroed out allocation is required, use calloc() rather than
malloc() followed by an explicit memset(). The result will be the
same, but using calloc() everywhere increases consistency in the
codebase and avoids the risk of subtle bugs when code is injected
between malloc and memset by accident.

Closes https://github.com/curl/curl/pull/2497
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a zeroed out allocation is required, use calloc() rather than
malloc() followed by an explicit memset(). The result will be the
same, but using calloc() everywhere increases consistency in the
codebase and avoids the risk of subtle bugs when code is injected
between malloc and memset by accident.

Closes https://github.com/curl/curl/pull/2497
</pre>
</div>
</content>
</entry>
<entry>
<title>code style: use space after semicolon</title>
<updated>2017-09-12T07:50:24+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2017-09-11T07:27:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=20acb58a38a605cab1b17c0b3379e43cf09b40a6'/>
<id>20acb58a38a605cab1b17c0b3379e43cf09b40a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>code style: use spaces around pluses</title>
<updated>2017-09-11T07:29:50+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2017-09-09T21:55:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e5743f08e7efb387bb39c0dc28f36838ece3bc1e'/>
<id>e5743f08e7efb387bb39c0dc28f36838ece3bc1e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>code style: use spaces around equals signs</title>
<updated>2017-09-11T07:29:50+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2017-09-09T21:09:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=6b84438d9a9220fb75cbaae9d6fe6c3edb6d425e'/>
<id>6b84438d9a9220fb75cbaae9d6fe6c3edb6d425e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: declare TU-local variables static</title>
<updated>2017-04-30T21:29:31+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>raad@teamviewer.com</email>
</author>
<published>2017-04-30T21:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=c23177d5e90aec2ec42bd20004d0acf0a6412456'/>
<id>c23177d5e90aec2ec42bd20004d0acf0a6412456</id>
<content type='text'>
This fixes missing-variable-declarations warnings when building with
clang.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes missing-variable-declarations warnings when building with
clang.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/fopen: checksrc compliance</title>
<updated>2017-03-28T06:55:14+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2017-03-28T06:55:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=041ded04591dc565f15abda806ad7b77f1ddd9ef'/>
<id>041ded04591dc565f15abda806ad7b77f1ddd9ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>spelling fixes</title>
<updated>2017-03-26T21:56:23+00:00</updated>
<author>
<name>klemens</name>
<email>ka7@github.com</email>
</author>
<published>2017-03-26T15:02:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=f7df67cff0a756eefc8daea36e6468df694a43d0'/>
<id>f7df67cff0a756eefc8daea36e6468df694a43d0</id>
<content type='text'>
Closes #1356
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1356
</pre>
</div>
</content>
</entry>
<entry>
<title>checksrc: code style: use 'char *name' style</title>
<updated>2016-11-24T22:58:22+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2016-11-23T06:53:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=dbadaebfc4e9d453232795f54d4fe5618cf8e84d'/>
<id>dbadaebfc4e9d453232795f54d4fe5618cf8e84d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
