aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/test/test_server.cover
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2012-07-09 15:30:48 +0200
committerSiri Hansen <[email protected]>2012-07-09 18:21:00 +0200
commite029c2d8920b356adfb71786c838f43f6b44f99a (patch)
treea9c1118413078992a46ec7928e90f80979a17c15 /lib/test_server/test/test_server.cover
parentc075ac6484e3d5a93a0d870ab4483d39ae26eaec (diff)
downloadotp-e029c2d8920b356adfb71786c838f43f6b44f99a.tar.gz
otp-e029c2d8920b356adfb71786c838f43f6b44f99a.tar.bz2
otp-e029c2d8920b356adfb71786c838f43f6b44f99a.zip
Fix erl_prim_loader errors in handling of primary archive
The following errors have been corrected: * If primary archive was named "xxx", then a file in the same directory named "xxxyyy" would be interpreted as a file named yyy inside the archive. * erl_prim_loader did not correctly create and normalize absolute paths for primary archive and files inside it, so unless given with exact same path files inside the archive would not be found. E.g. if escript was started as /full/path/to/xxx then "./xxx/file" would not be found since erl_prim_loader would try to match /full/path/to/xxx with /full/path/to/./xxx. Same problem with ../. * Depending on how the primary archive was built, erl_prim_loader:list_dir/1 would sometimes return an empty string inside the file list. This was a virtual element representing the top directory of the archive. This has been removed. Thanks to Tuncer Ayaz and Shunichi Shinohara for reporting and co-authoring corrections.
Diffstat (limited to 'lib/test_server/test/test_server.cover')
0 files changed, 0 insertions, 0 deletions