tidy-up: misc build, tests, lib/macos.c
- mkhelp.pl: drop unused assigment. - Makefile.mk: update a comment. - lib/macos.c: delete redundant block. - fix two typos. Closes #14558
This commit is contained in:
parent
471b11a9fd
commit
453d032b26
@ -252,7 +252,7 @@
|
|||||||
1.6 thread-safe sharing
|
1.6 thread-safe sharing
|
||||||
|
|
||||||
Using the share interface users can share some data between easy handles but
|
Using the share interface users can share some data between easy handles but
|
||||||
several of the sharing options are documented as as not safe and supported to
|
several of the sharing options are documented as not safe and supported to
|
||||||
share between multiple concurrent threads. Fixing this would enable more
|
share between multiple concurrent threads. Fixing this would enable more
|
||||||
users to share data in more powerful ways.
|
users to share data in more powerful ways.
|
||||||
|
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
# Usage: make -f Makefile.mk CFG=-feat1[-feat2][-feat3][...]
|
# Usage: make -f Makefile.mk CFG=-feat1[-feat2][-feat3][...]
|
||||||
# Example: make -f Makefile.mk CFG=-zlib-ssl-libssh2-ipv6
|
# Example: make -f Makefile.mk CFG=-zlib-ssl-libssh2-ipv6
|
||||||
#
|
#
|
||||||
# Look for ' ?=' to find all accepted customization variables.
|
# Look for ' ?=' to find accepted customization variables.
|
||||||
|
|
||||||
# This script is reused by 'src' and 'docs/examples' Makefile.mk scripts.
|
# This script is reused by 'src' and 'docs/examples' Makefile.mk scripts.
|
||||||
|
|
||||||
|
|||||||
@ -33,7 +33,6 @@
|
|||||||
#include <SystemConfiguration/SCDynamicStoreCopySpecific.h>
|
#include <SystemConfiguration/SCDynamicStoreCopySpecific.h>
|
||||||
|
|
||||||
CURLcode Curl_macos_init(void)
|
CURLcode Curl_macos_init(void)
|
||||||
{
|
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* The automagic conversion from IPv4 literals to IPv6 literals only
|
* The automagic conversion from IPv4 literals to IPv6 literals only
|
||||||
@ -48,7 +47,6 @@ CURLcode Curl_macos_init(void)
|
|||||||
CFDictionaryRef dict = SCDynamicStoreCopyProxies(NULL);
|
CFDictionaryRef dict = SCDynamicStoreCopyProxies(NULL);
|
||||||
if(dict)
|
if(dict)
|
||||||
CFRelease(dict);
|
CFRelease(dict);
|
||||||
}
|
|
||||||
return CURLE_OK;
|
return CURLE_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,6 @@ push @out, " / __| | | | |_) | |\n";
|
|||||||
push @out, " | (__| |_| | _ <| |___\n";
|
push @out, " | (__| |_| | _ <| |___\n";
|
||||||
push @out, " \\___|\\___/|_| \\_\\_____|\n";
|
push @out, " \\___|\\___/|_| \\_\\_____|\n";
|
||||||
|
|
||||||
my $olen=0;
|
|
||||||
while (<STDIN>) {
|
while (<STDIN>) {
|
||||||
my $line = $_;
|
my $line = $_;
|
||||||
push @out, $line;
|
push @out, $line;
|
||||||
|
|||||||
@ -2323,7 +2323,7 @@ sub responsive_httptls_server {
|
|||||||
sub startservers {
|
sub startservers {
|
||||||
my @what = @_;
|
my @what = @_;
|
||||||
my ($pid, $pid2);
|
my ($pid, $pid2);
|
||||||
my $serr; # error while starting a server (as as the return enumerations)
|
my $serr; # error while starting a server (as of the return enumerations)
|
||||||
for(@what) {
|
for(@what) {
|
||||||
my (@whatlist) = split(/\s+/,$_);
|
my (@whatlist) = split(/\s+/,$_);
|
||||||
my $what = lc($whatlist[0]);
|
my $what = lc($whatlist[0]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user