diff options
author | Björn Gustavsson <[email protected]> | 2014-05-26 15:15:33 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-05-26 15:54:12 +0200 |
commit | d8fa3de932d97db3a93520ac30f60045e8a9cef4 (patch) | |
tree | a30a2c3baa40ebaf27ea666df84d679992673f91 /system/README | |
parent | ce2ea545b8833b8e31322cdcff82f14a9cad8ba8 (diff) | |
download | otp-d8fa3de932d97db3a93520ac30f60045e8a9cef4.tar.gz otp-d8fa3de932d97db3a93520ac30f60045e8a9cef4.tar.bz2 otp-d8fa3de932d97db3a93520ac30f60045e8a9cef4.zip |
Teach code:del_path/1 to ignore superfluous slashes
The following sequence will NOT leave the code path unchanged:
code:add_path("/some/app/"),
.
.
.
code:del_path("/some/app/")
The reason is that code:add_path/1 will normalize the path name
(removing the trailing slash), while code:del_path/1 does not
normalize the path before searching for it in the code path.
Diffstat (limited to 'system/README')
0 files changed, 0 insertions, 0 deletions