<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/m4, branch bagder/test493-https</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>configure: include &lt;time.h&gt; unconditionally</title>
<updated>2021-04-07T14:08:01+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2021-04-07T07:32:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=eaa1d73229d5aa0c27ec09572b8abdac2676990a'/>
<id>eaa1d73229d5aa0c27ec09572b8abdac2676990a</id>
<content type='text'>
In 2682e5f5, several instances of AC_HEADER_TIME were removed since
it is a deprecated autoconf macro. However, this was the macro that
defined TIME_WITH_SYS_TIME, which was used to indicate that &lt;time.h&gt;
can be included alongside &lt;sys/time.h&gt;. TIME_WITH_SYS_TIME is still
used in the configure test body and since it is no longer defined,
&lt;time.h&gt; is *not* included on systems that have &lt;sys/time.h&gt;.

In particular, at least on musl libc and glibc, &lt;sys/time.h&gt; does
not implicitly include &lt;time.h&gt; and does not declare clock_gettime,
gmtime_r, or localtime_r. This causes configure to fail to detect
those functions.

The AC_HEADER_TIME macro deprecation text says

&gt; All current systems provide time.h; it need not be checked for.
&gt; Not all systems provide sys/time.h, but those that do, all allow
&gt; you to include it and time.h simultaneously.

So, to fix this issue, simply include &lt;time.h&gt; unconditionally when
testing for time-related functions and in libcurl, and don't bother
checking for it.

Closes #6859
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In 2682e5f5, several instances of AC_HEADER_TIME were removed since
it is a deprecated autoconf macro. However, this was the macro that
defined TIME_WITH_SYS_TIME, which was used to indicate that &lt;time.h&gt;
can be included alongside &lt;sys/time.h&gt;. TIME_WITH_SYS_TIME is still
used in the configure test body and since it is no longer defined,
&lt;time.h&gt; is *not* included on systems that have &lt;sys/time.h&gt;.

In particular, at least on musl libc and glibc, &lt;sys/time.h&gt; does
not implicitly include &lt;time.h&gt; and does not declare clock_gettime,
gmtime_r, or localtime_r. This causes configure to fail to detect
those functions.

The AC_HEADER_TIME macro deprecation text says

&gt; All current systems provide time.h; it need not be checked for.
&gt; Not all systems provide sys/time.h, but those that do, all allow
&gt; you to include it and time.h simultaneously.

So, to fix this issue, simply include &lt;time.h&gt; unconditionally when
testing for time-related functions and in libcurl, and don't bother
checking for it.

Closes #6859
</pre>
</div>
</content>
</entry>
<entry>
<title>configure: remove use of deprecated macros</title>
<updated>2021-03-16T22:02:02+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-15T17:16:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=2682e5f502679c7c6949b5e4a07f41e0b9c1510f'/>
<id>2682e5f502679c7c6949b5e4a07f41e0b9c1510f</id>
<content type='text'>
AC_HEADER_TIME, AC_HEADER_STDC and AC_TYPE_SIGNAL
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
AC_HEADER_TIME, AC_HEADER_STDC and AC_TYPE_SIGNAL
</pre>
</div>
</content>
</entry>
<entry>
<title>configure: s/AC_HELP_STRING/AS_HELP_STRING</title>
<updated>2021-03-16T22:01:53+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-15T16:32:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=a59f04611629f0db9ad8e768b9def73b9b4d9423'/>
<id>a59f04611629f0db9ad8e768b9def73b9b4d9423</id>
<content type='text'>
AC_HELP_STRING is deprecated in 2.70+ and I believe AS_HELP_STRING works
already since 2.59 so bump the minimum required version to that.

Reported-by: Emil Engler
Fixes #6647
Closes #6748
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
AC_HELP_STRING is deprecated in 2.70+ and I believe AS_HELP_STRING works
already since 2.59 so bump the minimum required version to that.

Reported-by: Emil Engler
Fixes #6647
Closes #6748
</pre>
</div>
</content>
</entry>
<entry>
<title>build: delete unused feature guards</title>
<updated>2021-02-23T12:04:29+00:00</updated>
<author>
<name>Viktor Szakats</name>
<email>commit@vsz.me</email>
</author>
<published>2021-02-23T12:04:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=95014b0a4d41723e05e8d6e3d9b0636fdd92eab6'/>
<id>95014b0a4d41723e05e8d6e3d9b0636fdd92eab6</id>
<content type='text'>
- `HAVE_STRNCASECMP`
- `HAVE_TCGETATTR`
- `HAVE_TCSETATTR`

Reviewed-by: Jay Satiro
Reviewed-by: Daniel Stenberg
Closes #6645
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- `HAVE_STRNCASECMP`
- `HAVE_TCGETATTR`
- `HAVE_TCSETATTR`

Reviewed-by: Jay Satiro
Reviewed-by: Daniel Stenberg
Closes #6645
</pre>
</div>
</content>
</entry>
<entry>
<title>configure: set -Wextra-semi-stmt for clang with --enable-debug</title>
<updated>2020-12-29T22:02:43+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-12-26T15:41:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=26e46617b9ef6cac9853854db5d5f6250a435392'/>
<id>26e46617b9ef6cac9853854db5d5f6250a435392</id>
<content type='text'>
To have it properly complain on empty statements with no effect.

Ref: #6376
Closes #6378
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To have it properly complain on empty statements with no effect.

Ref: #6376
Closes #6378
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "libcurl.pc: make it relocatable"</title>
<updated>2020-11-09T08:13:06+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-11-07T17:26:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=259c70a9303eb65611441550d1cbe54d914356f8'/>
<id>259c70a9303eb65611441550d1cbe54d914356f8</id>
<content type='text'>
This reverts commit 3862c37b6373a55ca704171d45ba5ee91dec2c9f.

That fix should either be done differently or with an option.

Reported-by: asavah on github
Fixes #6157
Closes #6183
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 3862c37b6373a55ca704171d45ba5ee91dec2c9f.

That fix should either be done differently or with an option.

Reported-by: asavah on github
Fixes #6157
Closes #6183
</pre>
</div>
</content>
</entry>
<entry>
<title>curl.se: new home</title>
<updated>2020-11-04T22:59:47+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-11-04T13:02:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=4d2f8006777d6354d9b62eae38ebd0a0256d0f94'/>
<id>4d2f8006777d6354d9b62eae38ebd0a0256d0f94</id>
<content type='text'>
Closes #6172
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #6172
</pre>
</div>
</content>
</entry>
<entry>
<title>libcurl.pc: make it relocatable</title>
<updated>2020-10-15T14:04:21+00:00</updated>
<author>
<name>Cristian Morales Vega</name>
<email>cristian@samknows.com</email>
</author>
<published>2020-10-11T22:46:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=3862c37b6373a55ca704171d45ba5ee91dec2c9f'/>
<id>3862c37b6373a55ca704171d45ba5ee91dec2c9f</id>
<content type='text'>
It supposes when people specify the libdir/includedir they do it to
change where under prefix/exec_prefix it should be, not to make it
independent of prefix/exec_prefix.

Closes #6061
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It supposes when people specify the libdir/includedir they do it to
change where under prefix/exec_prefix it should be, not to make it
independent of prefix/exec_prefix.

Closes #6061
</pre>
</div>
</content>
</entry>
<entry>
<title>ECH: renamed from ESNI in docs and configure</title>
<updated>2020-09-29T09:23:23+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-09-29T08:13:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=cbe7fad20d969626a5c4eb0501a273dfe812bcd3'/>
<id>cbe7fad20d969626a5c4eb0501a273dfe812bcd3</id>
<content type='text'>
Encrypted Client Hello (ECH) is the current name.

Closes #6022
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Encrypted Client Hello (ECH) is the current name.

Closes #6022
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: fix -Wassign-enum warnings</title>
<updated>2020-09-08T11:53:02+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-09-07T08:52:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=17fcdf6a310d4c80762455ee9d5e4f52bd55c809'/>
<id>17fcdf6a310d4c80762455ee9d5e4f52bd55c809</id>
<content type='text'>
configure --enable-debug now enables -Wassign-enum with clang,
identifying several enum "abuses" also fixed.

Reported-by: Gisle Vanem
Bug: https://github.com/curl/curl/commit/879007f8118771f4896334731aaca5850a154675#commitcomment-42087553

Closes #5929
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
configure --enable-debug now enables -Wassign-enum with clang,
identifying several enum "abuses" also fixed.

Reported-by: Gisle Vanem
Bug: https://github.com/curl/curl/commit/879007f8118771f4896334731aaca5850a154675#commitcomment-42087553

Closes #5929
</pre>
</div>
</content>
</entry>
</feed>
