diff options
author | Erlang/OTP <[email protected]> | 2010-01-30 09:21:08 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-01-30 09:21:08 +0000 |
commit | 3add162b87ba2c2d6b4922ac4b8c5f0c59fb2d5d (patch) | |
tree | fa042554c1acfb5d2475b4f284710083bbbc7b8d /lib/stdlib/test/sofs_SUITE.erl | |
parent | 1cfb7ea778a90a234ae811666a594057198920b4 (diff) | |
parent | 67657eddd662b2367b36a336d38c674e477e1184 (diff) | |
download | otp-3add162b87ba2c2d6b4922ac4b8c5f0c59fb2d5d.tar.gz otp-3add162b87ba2c2d6b4922ac4b8c5f0c59fb2d5d.tar.bz2 otp-3add162b87ba2c2d6b4922ac4b8c5f0c59fb2d5d.zip |
Merge branch 'ta/ensure_dir_eexist' into ccase/r13b04_dev
* ta/ensure_dir_eexist:
filelib_SUITE: strenghten tests of filelib:ensure_dir/1
Don't return a false {error,eexist} in filelib:ensure_dir/1
OTP-8389 Because of a race condition, using filelib:ensure_dir/1 from
multiple processes to create the same path or parts of the same
directory structure, filelib:ensure_dir/1 could return a
meaningless {error,eexist}. That race condition has been
eliminated, and {error,eexist} will now be returned only if there
exists a regular file, device file, or some other non-directory
file with the same name. (Thanks to Tuncer Ayaz.)
Diffstat (limited to 'lib/stdlib/test/sofs_SUITE.erl')
0 files changed, 0 insertions, 0 deletions