Import Upstream version 1.0b

parent e3d1bcda
Version 1.0b:
- Removed spaces between -S[x] in man-pages, etc. They mess things up.
- Fixed configure for OpenBSD.
- Fixed configuration bug: s/alternate_interface/alternate_output/ in
axelrc.example, thanks to CLOTILDE Guy Daniel for the bug report!
- Fixed weird behaviour when downloading from an unsupported server.
- Fixed buffer overflow in conn.c. (CAN-2005-0390)
Finished Apr 06 2005
Version 1.0a:
- gstrip on Solaris/SPARC breaks the binary, so stripping is made optional
(but enabled by default!) and /usr/ccs/bin/strip is used instead of
......
......@@ -7,7 +7,7 @@
### DEFINITIONS
include Makefile.settings
-include Makefile.settings
.SUFFIXES: .po .mo
......
......@@ -50,7 +50,7 @@ unless you specify a different name using this option. You can
specify a directory as well, the program will append the filename.
.TP
\fB\-\-search[=x]\fP, \fB-S [x]\fP
\fB\-\-search[=x]\fP, \fB-S[x]\fP
Axel can do a search for mirrors using the filesearching.com search
engine. This search will be done if you use this option. You can specify how
many different mirrors should be used for the download as well.
......@@ -106,7 +106,7 @@ This will use the Belgian, Dutch, English and German kernel.org mirrors to
download a Linux 2.4.17 kernel image.
.nf
axel -S 4 ftp://ftp.kernel.org/pub/linux/kernel/v2.4/
axel -S4 ftp://ftp.kernel.org/pub/linux/kernel/v2.4/
linux-2.4.17.tar.bz2
.fi
......
......@@ -227,7 +227,7 @@ void axel_start( axel_t *axel )
axel->conn[i].local_if = axel->conf->interfaces->text;
axel->conf->interfaces = axel->conf->interfaces->next;
axel->conn[i].conf = axel->conf;
axel->conn[i].supported = 1;
if( i ) axel->conn[i].supported = 1;
}
if( axel->conf->verbose > 0 )
......
......@@ -66,7 +66,7 @@
/* Compiled-in settings */
#define MAX_STRING 256
#define MAX_REDIR 5
#define AXEL_VERSION_STRING "1.0a"
#define AXEL_VERSION_STRING "1.0b"
#define USER_AGENT "Axel " AXEL_VERSION_STRING " (" ARCH ")"
typedef struct
......
......@@ -99,4 +99,4 @@
# If you don't like the wget-alike interface, you can set this to 1 to get
# a scp-alike interface.
#
# alternate_interface = 1
# alternate_output = 1
......@@ -158,7 +158,7 @@ NetBSD )
echo ' Please send me your results so I can update this!'
echo ''
echo '#define NOGETOPTLONG' >> config.h
echo 'LFLAGS+=-lpthread' >> Makefile.settings
echo 'LFLAGS+=-pthread' >> Makefile.settings
if [ "$i18n" = "1" ]; then
echo 'LFLAGS+=-lintl' >> Makefile.settings;
fi
......
......@@ -321,7 +321,7 @@ int conn_info( conn_t *conn )
break;
if( ( t = http_header( conn->http, "location:" ) ) == NULL )
return( 0 );
sscanf( t, "%s", s );
sscanf( t, "%255s", s );
if( strstr( s, "://" ) == NULL)
{
sprintf( conn->http->headers, "%s%s",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment