File tree 1 file changed +1
-1
lines changed
src/Symfony/Component/Lock/Store
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change <
75AC
path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"> @@ -81,7 +81,7 @@ private function lock(Key $key, $blocking)
81
81
set_error_handler (function ($ type , $ msg ) use (&$ error ) { $ error = $ msg ; });
82
82
if (!$ handle = fopen ($ fileName , 'r+ ' ) ?: fopen ($ fileName , 'r ' )) {
83
83
if ($ handle = fopen ($ fileName , 'x ' )) {
84
- chmod ($ fileName , 0444 );
84
+ chmod ($ fileName , 0644 );
85
85
} elseif (!$ handle = fopen ($ fileName , 'r+ ' ) ?: fopen ($ fileName , 'r ' )) {
86
86
usleep (100 ); // Give some time for chmod() to complete
87
87
$ handle = fopen ($ fileName , 'r+ ' ) ?: fopen ($ fileName , 'r ' );
You can’t perform that action at this time.
0 commit comments