Skip to content
Commit c126d5ac authored by fjhenigman's avatar fjhenigman Committed by Jean-Baptiste Kempf
Browse files

Fix directory existence check.



mkdir() followed by errno==EEXIST is not sufficient to determine if
a directory exists.  Do a stat() to check for existence before trying
mkdir().

Signed-off-by: default avatarFrank Henigman <fjhenigman@gmail.com>
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5bec036c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment