Re: ftp, ignore whitespace at end of Content-Length

2012-05-29 Thread LEVAI Daniel
As noted on misc, ftp http://www.spamhaus.org/drop/drop.lasso fails due to whitespace after the value of the content-length header. wget/curl/lynx/w3m all handle this. This is really useful, thanks! Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D

g++ -pedantic and mm_malloc.h

2012-05-29 Thread Pascal Stumpf
Including mm_malloc.h in C++ code and compiling with -pedantic yields the following error: In file included from src/mystuff/c++/memalign.cc:1: /usr/include/mm_malloc.h:37: error: declaration of 'int posix_memalign(void**, size_t, size_t) throw ()' throws different exceptions

tar -J to extract xz archives

2012-05-29 Thread Gabriel Linder
I see more and more tar.xz archives, and thought it would be nice to have tar able to extract them directly as with gzip/bzip2. -J is what GNU and FreeBSD use, so I used it too. Based on what was done to add bzip2 support. In case my client mess up with tabulations, here is a real file :

Re: tar -J to extract xz archives

2012-05-29 Thread Anthony J. Bentley
Gabriel Linder writes: I see more and more tar.xz archives, and thought it would be nice to have tar able to extract them directly as with gzip/bzip2. -J is what GNU and FreeBSD use, so I used it too. Based on what was done to add bzip2 support. This has been discussed on the list before. I

Re: tar -J to extract xz archives

2012-05-29 Thread Marc Espie
On Tue, May 29, 2012 at 12:12:21PM -0600, Anthony J. Bentley wrote: Gabriel Linder writes: I see more and more tar.xz archives, and thought it would be nice to have tar able to extract them directly as with gzip/bzip2. -J is what GNU and FreeBSD use, so I used it too. Based on what was done

Re: tar -J to extract xz archives

2012-05-29 Thread Landry Breuil
On Tue, May 29, 2012 at 09:19:49PM -0400, Ted Unangst wrote: On Tue, May 29, 2012 at 17:46, Gabriel Linder wrote: I see more and more tar.xz archives, and thought it would be nice to have tar able to extract them directly as with gzip/bzip2. -J is what GNU and FreeBSD use, so I used it