Skip to content
Extraits de code Groupes Projets
Valider 1ef7f584 rédigé par marcimat's avatar marcimat
Parcourir les fichiers

report de [14283]

parent 9a29b54a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -247,7 +247,7 @@ function spip_nfsunlock($fichier, $birth, $max_age=0, $test = false) {
* tries to relock the file.
*/
if ( ($old_stat=lstat($lock_file)) /* stat succeeds so file is there */
if ( ($old_stat=@lstat($lock_file)) /* stat succeeds so file is there */
&& ($old_stat['ctime'] == $birth)) { /* hasn't been modified since birth */
if (!$test)
spip_unlink($lock_file); /* so the lock is ours to remove */
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter