diff options
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2897,7 +2897,8 @@ Urpm_parse_synthesis__XS(urpm, filename, ...) p = &buff[buff_len-(p-buff)]; } // EOF: - if (!parse_line(depslist, provides, obsoletes, &pkg, p, urpm, callback)) + if (ok && buff_len > 0 + && !parse_line(depslist, provides, obsoletes, &pkg, p, urpm, callback)) ok = 0; if (Fclose(f) != 0) ok = 0; SPAGAIN; |