Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use standard errno codes in return from _alpm_archive_fgets | Dan McGee | 2011-06-03 |
| | | | | | | | | | | | | | This allows us to not require the context (e.g. handle) when calling this function. Also beef up the checks in the two callers of this function to bail if the last return code is not ARCHIVE_EOF, which is the expected value. This requires a change to one of the pactest return codes and the overall result of the test, but results in a much safer operating condition whereby invalid database entries will stop the operation. Signed-off-by: Dan McGee <dan@archlinux.org> | ||
* | Add pactest to test long archive reads | Dan McGee | 2010-12-21 |
This creates two packages with extremely long description lines (500KB and 600 KB), causing our archive read code to perform reallocation to store the whole contents. One of the packages will successfully read while the other will fail for the time being. Signed-off-by: Dan McGee <dan@archlinux.org> |