1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-02-28 17:31:52 -05:00

*** empty log message ***

This commit is contained in:
Aaron Griffin 2007-02-07 20:22:36 +00:00
parent 01b3f1e0f5
commit 7969082a7c

View File

@ -22,6 +22,14 @@
- clear up list allocation/deallocation - some lists need to be free'd, some - clear up list allocation/deallocation - some lists need to be free'd, some
do not and there is no clear indication WHEN this should happen. do not and there is no clear indication WHEN this should happen.
- remove DB entries (directories) on a read error? - remove DB entries (directories) on a read error?
- Add a pm_errstr error string, which will allow us to do things like:
pm_errno = PM_ERR_LIBARCHIVE;
pm_errstr = archive_error_string(archive);
or:
pm_errno = PM_ERR_LIBDOWNLOAD;
pm_errstr = downloadLastErrString;
This way we don't break abstraction when returning specific errors in
cases like the above.
* pacman: A LOT of functions are way too long. There should be an upper limit of * pacman: A LOT of functions are way too long. There should be an upper limit of
100-200 lines. _alpm_add_commit is around 600 lines, and is far too complex. 100-200 lines. _alpm_add_commit is around 600 lines, and is far too complex.