The behaviour of pack-sdf when trying to include files from upper directory is very weird. It seems to ignore the ".."s.

~/azr/ad$ pwd
/home/lgv/azr/ad
~/azr/ad$ echo “module test” >../test.sdf
~/azr/ad$ pack-sdf -i ../test.sdf
pack-sdf: Error: module ../test.sdf not found

~/azr/ad$ pack-sdf -I .. -i ../test.sdf
definition
module test
~/azr/ad$ mkdir ../zg
~/azr/ad$ mv ../test.sdf ../zg
~/azr/ad$ pack-sdf -I ../zg -i ../zg/test.sdf
pack-sdf: Error: module ../zg/test.sdf not found

~/azr/ad$ pack-sdf -I .. -i ../zg/test.sdf
definition
module test
~/azr/ad$

Submitted on 2 June 2004 at 18:34

On 9 June 2004 at 16:29 Jira commented:

STR-109, valentin:
The bug was in remove-extension from the SSL which was using string-tokenize. The problem was on contiguous dots. string-tokenize do not output empty strings. Then, some dots disappeared.


On 9 June 2004 at 18:57 Jira commented:

STR-109, valentin:
The modified strategy “remove-extension” now works.

Log in to post comments