Explorar o código

Fixed lfs_dir_fetchmatch not propogating bd errors correctly in one case

Found by cbiffle
Christopher Haster %!s(int64=3) %!d(string=hai) anos
pai
achega
d08f949afd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lfs.c

+ 1 - 0
lfs.c

@@ -1162,6 +1162,7 @@ static lfs_stag_t lfs_dir_fetchmatch(lfs_t *lfs,
                         dir->erased = false;
                         break;
                     }
+                    return err;
                 }
                 lfs_pair_fromle32(temptail);
             }