Please sponsor axel upload
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
axel (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
affects ubuntu/axel
subscribe ubuntu-
diff -u axel-1.
- --- axel-1.
+++ axel-1.
@@ -1,3 +1,10 @@
+axel (1.0b-1.1ubuntu1) feisty; urgency=low
+
+ * Fixed non existing thread killing
+ * Error messages were never showed (cause they were misplaced)
+
+ -- Ouattara Oumar Aziz (alias wattazoum) <email address hidden> Sun, 13 May 2007 08:04:52 +0200
+
axel (1.0b-1.1) unstable; urgency=low
* Non-maintainer upload.
only in patch2:
unchanged:
- --- axel-1.
+++ axel-1.0b/http.c
@@ -41,7 +41,8 @@
sprintf( conn->host, "%s:%i", host, port );
if( !conn_set( tconn, proxy ) )
{
- - sprintf( conn->request, _("Invalid proxy string: %s\n"), proxy );
+ /* We'll put the message in conn->headers, not in request */
+ sprintf( conn->headers, _("Invalid proxy string: %s\n"), proxy );
return( 0 );
}
host = tconn->host;
@@ -55,7 +56,8 @@
if( ( conn->fd = tcp_connect( host, port, conn->local_if ) ) == -1 )
{
- - sprintf( conn->request, _("Unable to connect to server %s:%i\n"), host, port );
+ /* We'll put the message in conn->headers, not in request */
+ sprintf( conn->headers, _("Unable to connect to server %s:%i\n"), host, port );
return( 0 );
}
@@ -145,7 +147,8 @@
{
if( read( conn->fd, s, 1 ) <= 0 )
{
- - sprintf( conn->request, _("Connection gone.\n") );
+ /* We'll put the message in conn->headers, not in request */
+ sprintf( conn->headers, _("Connection gone.\n") );
return( 0 );
}
if( *s == '\r' )
only in patch2:
unchanged:
- --- axel-1.
+++ axel-1.0b/axel.c
@@ -444,7 +444,9 @@
/* Terminate any thread still running */
for( i = 0; i < axel->conf-
- - pthread_cancel( *axel->
+ /* don't try to kill non existing thread */
+ if ( *axel->
+ pthread_cancel( *axel->
/* Delete state file if necessary */
if( axel->ready == 1 )
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGRr9b3oN
2IfVFoNJ03V1Hyl
=ZoU3
-----END PGP SIGNATURE-----
Changed in axel: | |
importance: | Undecided → Wishlist |
Changed in axel: | |
status: | Fix Committed → Fix Released |
Uploaded to gutsy. Please mark as fix released once the package has
succesfully built.
A couple of points for next time however.
* Please make sure to update the maintainer field to MOTU, as specified in the Debian Maintainer Field spec.
* Please do not use the requestsponsor script, as that doesn't attach the diff, and makes it harder to retrieve the patch to apply against the package.
Thanks for your work.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7 c4198c763c59208 73a 643 web optional axel_1. 0b-1.1ubuntu1. dsc 690f5539d7514e0 596 3924 web optional axel_1. 0b-1.1ubuntu1. diff.gz Maintainer: Wilmer van der Gaast <email address hidden>
Date: Sun, 13 May 2007 08:04:52 +0200
Source: axel
Binary: axel-kapt axel
Architecture: source
Version: 1.0b-1.1ubuntu1
Distribution: gutsy
Urgency: low
Maintainer: Ubuntu MOTU Developers <email address hidden>
Changed-By: Ouattara Oumar Aziz (alias wattazoum) <email address hidden>
Description:
axel - A light download accelerator - Console version
axel-kapt - A light download accelerator - Console version front-end
Changes:
axel (1.0b-1.1ubuntu1) gutsy; urgency=low
.
* Fixed non existing thread killing
* Error messages were never showed (cause they were misplaced)
* CHanged maintainer field to MOTU.
Files:
02f6fd7fc03e40
1dc5e93c4fe3fc
Original-
-----BEGIN PGP SIGNATURE-----
fwtBjIM4RAqe2AK DSovCP+ qA5mKEVQGlB4b5r lxmwxgCfUEPx UDhtytgk=
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGSRD3jVe
F8l88fSHJYBHMzR
=6tac
-----END PGP SIGNATURE-----