Re: sl_proxy 1.10.1 is released.
kittin
居住地: Oregon, USA
投稿数: 31
The links aren't being restored correctly when untarring. Worse, it's not even consistent.
For example:
/tmp> uname -a
CYGWIN_NT-6.1 calypso 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
/tmp> md5sum sl_proxy-1.10.1.tar.gz
aceb3f8d36650da969a2b516ea9afd01 *sl_proxy-1.10.1.tar.gz
/tmp> tar xzf sl_proxy-1.10.1.tar.gz
/tmp> find . -size 0b -iname "*.h"
./sl_proxy-1.10.1/sl_voice_relay/sip_forwarder.h
./sl_proxy-1.10.1/sl_voice_relay/sip_fwdmain.h
./sl_proxy-1.10.1/sl_voice_relay/sl_tools.h
/tmp> find . -size 0b -iname "*.c"
./sl_proxy-1.10.1/sl_cache/sl_command.c
./sl_proxy-1.10.1/sl_cache/sl_tools.c
./sl_proxy-1.10.1/sl_cache/tools/sl_tools.c
./sl_proxy-1.10.1/sl_info/tools/sl_info_tools.c
./sl_proxy-1.10.1/sl_voice_relay/sip_fwdmain.c
./sl_proxy-1.10.1/sl_voice_relay/sl_command.c
And then doing it again:
/tmp> rm -rf INSTALL JunkBox_Lib junkbox_lib-1.3.0/ sl_proxy-1.10.1
/tmp> ls
sl_proxy-1.10.1.tar.gz
/tmp> tar xzf sl_proxy-1.10.1.tar.gz
/tmp> find . -size 0b -iname "*.c"
./sl_proxy-1.10.1/sl_info/sl_tools.c
./sl_proxy-1.10.1/sl_info/tools/sl_info_tools.c
/tmp> find . -size 0b -iname "*.h"
./sl_proxy-1.10.1/sl_cache/sl_relay_cache_io.h
./sl_proxy-1.10.1/sl_voice_relay/sl_tools.h
Since the behavior is inconsistent, the conclusion is that symbolic links within a tar under Cygwin in Windows 7 (and probably any other version of windows) are unreliable. Therefore, if you wish to support Cygwin, don't use symbolic links. If you don't want to support Cygwin, then this is academic.
For example:
/tmp> uname -a
CYGWIN_NT-6.1 calypso 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
/tmp> md5sum sl_proxy-1.10.1.tar.gz
aceb3f8d36650da969a2b516ea9afd01 *sl_proxy-1.10.1.tar.gz
/tmp> tar xzf sl_proxy-1.10.1.tar.gz
/tmp> find . -size 0b -iname "*.h"
./sl_proxy-1.10.1/sl_voice_relay/sip_forwarder.h
./sl_proxy-1.10.1/sl_voice_relay/sip_fwdmain.h
./sl_proxy-1.10.1/sl_voice_relay/sl_tools.h
/tmp> find . -size 0b -iname "*.c"
./sl_proxy-1.10.1/sl_cache/sl_command.c
./sl_proxy-1.10.1/sl_cache/sl_tools.c
./sl_proxy-1.10.1/sl_cache/tools/sl_tools.c
./sl_proxy-1.10.1/sl_info/tools/sl_info_tools.c
./sl_proxy-1.10.1/sl_voice_relay/sip_fwdmain.c
./sl_proxy-1.10.1/sl_voice_relay/sl_command.c
And then doing it again:
/tmp> rm -rf INSTALL JunkBox_Lib junkbox_lib-1.3.0/ sl_proxy-1.10.1
/tmp> ls
sl_proxy-1.10.1.tar.gz
/tmp> tar xzf sl_proxy-1.10.1.tar.gz
/tmp> find . -size 0b -iname "*.c"
./sl_proxy-1.10.1/sl_info/sl_tools.c
./sl_proxy-1.10.1/sl_info/tools/sl_info_tools.c
/tmp> find . -size 0b -iname "*.h"
./sl_proxy-1.10.1/sl_cache/sl_relay_cache_io.h
./sl_proxy-1.10.1/sl_voice_relay/sl_tools.h
Since the behavior is inconsistent, the conclusion is that symbolic links within a tar under Cygwin in Windows 7 (and probably any other version of windows) are unreliable. Therefore, if you wish to support Cygwin, don't use symbolic links. If you don't want to support Cygwin, then this is academic.
投票数:116
平均点:4.57
投稿ツリー
-
sl_proxy 1.10.1 is released.
(admin, 2011-10-4 18:32)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2011-10-10 11:36)
- Re: sl_proxy 1.10.1 is released. (iseki, 2011-10-10 17:37)
- Re: sl_proxy 1.10.1 is released. (kittin, 2011-10-16 15:09)
- Re: sl_proxy 1.10.1 is released. (macsatou, 2011-10-17 11:59)
- Re: sl_proxy 1.10.1 is released. (kittin, 2011-10-19 2:06)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2011-10-22 7:34)
- Re: sl_proxy 1.10.1 is released. (iseki, 2011-10-24 12:02)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2011-11-2 2:40)
-
Re: sl_proxy 1.10.1 is released.
(iseki, 2011-11-8 22:28)
- Re: sl_proxy 1.10.1 is released. (iseki, 2011-11-9 10:07)
-
Re: sl_proxy 1.10.1 is released.
(iseki, 2011-11-8 22:28)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2012-7-4 4:14)
- Re: Re: sl_proxy 1.10.1 is released. (iseki, 2012-7-4 9:51)
- Re: sl_proxy 1.10.1 is released. (iseki, 2012-7-4 16:36)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2012-7-6 6:41)
- Re: sl_proxy 1.10.1 is released. (iseki, 2012-7-6 8:08)
- Re: sl_proxy 1.10.1 is released. (kittin, 2012-7-7 5:01)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2012-7-15 11:30)
- Re: sl_proxy 1.10.1 is released. (iseki, 2012-7-16 11:16)
-
Re: sl_proxy 1.10.1 is released.
(iseki, 2012-7-17 18:38)
- Re: sl_proxy 1.10.1 is released. (admin, 2012-7-17 19:12)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2012-9-17 13:53)
- Re: sl_proxy 1.10.1 is released. (iseki, 2012-9-18 14:11)
- Re: sl_proxy 1.10.1 is released. (iseki, 2012-9-19 15:00)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2012-9-21 1:02)
- Re: sl_proxy 1.10.1 is released. (iseki, 2012-9-21 10:51)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2012-9-22 3:34)
- Re: sl_proxy 1.10.1 is released. (iseki, 2012-9-22 14:33)
- Re: sl_proxy 1.10.1 is released. (kittin, 2012-9-23 6:28)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2012-9-23 6:34)
- Re: sl_proxy 1.10.1 is released. (iseki, 2012-9-25 22:37)
- Re: sl_proxy 1.10.1 is released. (kittin, 2012-9-27 5:36)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2012-11-7 12:48)
-
Re: sl_proxy 1.10.1 is released.
(iseki, 2012-11-8 16:44)
-
Re: sl_proxy 1.10.1 is released.
(iseki, 2012-11-8 17:07)
-
Re: sl_proxy 1.10.1 is released.
(iseki, 2012-11-8 17:26)
- Re: sl_proxy 1.10.1 is released. (iseki, 2012-11-8 23:21)
-
Re: sl_proxy 1.10.1 is released.
(iseki, 2012-11-8 17:26)
-
Re: sl_proxy 1.10.1 is released.
(iseki, 2012-11-8 17:07)
-
Re: sl_proxy 1.10.1 is released.
(iseki, 2012-11-8 16:44)
- Re: sl_proxy 1.10.1 is released. (kittin, 2012-11-9 1:29)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2012-11-12 13:19)
- Re: sl_proxy 1.10.1 is released. (iseki, 2012-11-13 20:59)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2012-11-21 12:16)
-
Re: sl_proxy 1.10.1 is released.
(iseki, 2012-11-22 1:21)
- Re: sl_proxy 1.10.1 is released. (iseki, 2012-11-25 20:58)
-
Re: sl_proxy 1.10.1 is released.
(iseki, 2012-11-22 1:21)
-
Re: sl_proxy 1.10.1 is released.
(kittin, 2011-10-10 11:36)