Skip to content
Snippets Groups Projects
Commit 9bc32ed5 authored by Per Hedbor's avatar Per Hedbor
Browse files

Moved the stat() inside the THREADS_ALLOW() in f_rm().

Rev: src/modules/files/efuns.c:1.34
parent b166ad58
No related branches found
No related tags found
No related merge requests found
......@@ -266,8 +266,8 @@ void f_rm(INT32 args)
s = sp[-args].u.string->str;
i=lstat(s, &st) != -1;
THREADS_ALLOW();
i=lstat(s, &st) != -1;
if(i)
{
if(S_IFDIR == (S_IFMT & st.st_mode))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment