Ah, interesting.
well the point is that I extracted the files
with WinZip (Version 9.0, build 6028) before I
started the built in a cygwin environment.
So, it's not a cygwin, it's a WinZip bug
(I can confirm that cygwin tar extracts the files
with the correct extension).
Thanks for the fast feedback.
I will send a bug report to WinZp.
(and know I know why I was the first one having this
problem).
Best
Nico
Richard Guenther schrieb/wrote:
On Sun, Nov 29, 2009 at 3:07 PM, Nicolai Josuttis <n...@josuttis.de> wrote:
Hi everybody,
I am currently starting to work on a new edition of my
C++ Library book and from what I see, you already have
good support of a couple of new feature. Great!
So, I start to try g++ 4.4.2 out now...
However, both
gcc-g++-4.4.2.tar.gz
as well as
gcc-4.4.2.tar.gz
downloaded from multiple files
(I tried ftp.gnu.org and ftp.fu-berlin.de)
contain two files with the wrong file type:
In
libstdc++-v3\include\ext\pb_ds\detail\bin_search_tree_
there is:
constructors_destructor_fn_imps.hpp0000664
and there is also
hash_load_check_resize_trigger_imp.hpp0000664
somewhere else.
This sounds like a bug in cygwins tar implementation. Both names
in question are exactly 100 chars long (the size of the name field in
the header) and directly followed by the file mode in ascii:
*
01a44400 67 63 63 2d 34 2e 34 2e 32 2f 6c 69 62 73 74 64 |gcc-4.4.2/libstd|
01a44410 63 2b 2b 2d 76 33 2f 69 6e 63 6c 75 64 65 2f 65 |c++-v3/include/e|
01a44420 78 74 2f 70 62 5f 64 73 2f 64 65 74 61 69 6c 2f |xt/pb_ds/detail/|
01a44430 72 65 73 69 7a 65 5f 70 6f 6c 69 63 79 2f 68 61 |resize_policy/ha|
01a44440 73 68 5f 6c 6f 61 64 5f 63 68 65 63 6b 5f 72 65 |sh_load_check_re|
01a44450 73 69 7a 65 5f 74 72 69 67 67 65 72 5f 69 6d 70 |size_trigger_imp|
01a44460 2e 68 70 70 30 30 30 30 36 36 34 00 30 30 30 30 |.hpp0000664.0000|
it looks like cygwin tar expects a terminating NUL instead.
GNU tar version 1.22 extracts the files correctly btw.
Richard.
--
Nicolai M. Josuttis
SOA in Practice http://soa-in-practice.com
IT communication http://it-communication.com
Solutions in Time http://www.josuttis.de
+49 (0)531 / 129 88 86
+49 (0)700 / 5678 8888
+49 (0)700 / JOSUTTIS