flagflag  

Re: sl_proxy 1.10.1 is released.

List posts in the topic

なし Re: sl_proxy 1.10.1 is released.

msg# 1.4
depth:
1
Previous post - Next post | Parent - No child | Posted on 2011/10/19 2:06
kittin  Not too shy to talk From: Oregon, USA  Posts: 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.
Votes:126 Average:4.76

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMar 2026Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Today

Who's Online

145 user(s) are online (5 user(s) are browsing Forum)

Members: 0
Guests: 145

more...

Access Counter

Today : 5884588458845884
Yesterday : 3997139971399713997139971
Total : 5029280850292808502928085029280850292808502928085029280850292808
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com