1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-02 08:35:06 -04:00
Commit Graph

148 Commits

Author SHA1 Message Date
Aurelien Foret
a5e4fec74e fixed a memory leak and avoided to modify a read-only parameter 2005-05-04 19:30:00 +00:00
Aurelien Foret
ce6dcb5159 - fixed a small memory leak
- made strverscmp implementation static
2005-05-04 19:28:56 +00:00
Aurelien Foret
f3975acf90 code cleanup 2005-05-03 17:44:53 +00:00
Aurelien Foret
54f6a1cb12 make use of the new list_remove implementation 2005-05-03 17:43:02 +00:00
Aurelien Foret
00b97ee35f found a possible MLK: to be fixed 2005-05-03 17:42:54 +00:00
Aurelien Foret
80a5ffa8d8 added some debug logs 2005-05-03 17:41:19 +00:00
Aurelien Foret
9177ce7962 reimplemented list_remove to deal with lists of any kind of data 2005-05-03 17:24:20 +00:00
Aurelien Foret
220c084770 moved pkg_cmp() to cache.c 2005-05-03 17:19:19 +00:00
Aurelien Foret
251e52cea7 fixed a small memory leak with md5sums handling 2005-05-03 16:46:18 +00:00
Aurelien Foret
c99a4c85c0 code cleanup 2005-05-02 18:18:27 +00:00
Aurelien Foret
a93521aca3 do not register an already registered db 2005-05-02 17:54:44 +00:00
Aurelien Foret
4b11a9b1ce code cleanup 2005-05-02 07:50:51 +00:00
Aurelien Foret
2cc81d9eea code cleanup 2005-05-02 07:42:32 +00:00
Aurelien Foret
0069357006 updated REASON constants to be consistent with databases from pacman 2.9.x 2005-05-02 07:42:18 +00:00
Aurelien Foret
246f9f24a2 removed the extra line feed appended by asctime() 2005-05-02 06:29:59 +00:00
Aurelien Foret
0756af675d - rework to support pacman_deptest()
- code cleanup
2005-05-01 20:46:15 +00:00
Aurelien Foret
beda47fd22 code cleanup 2005-04-24 21:36:30 +00:00
Aurelien Foret
a9540e2c76 fixed potential memory leaks 2005-04-24 21:36:18 +00:00
Aurelien Foret
49257b49f9 avoided to load twice the same target in remove_loadtarget() 2005-04-24 21:27:35 +00:00
Aurelien Foret
7c04fe95ac added support for the package reason field 2005-04-24 20:11:10 +00:00
Aurelien Foret
90b9888d3a got ride of an ORE tag in resolvedeps() 2005-04-24 20:06:00 +00:00
Aurelien Foret
11bf5f8b65 some more efficiency in remove_prepare() cascade loop 2005-04-24 20:04:52 +00:00
Aurelien Foret
55704d3742 fixed a commented MLK in db_find_conflicts()/CHECK1 2005-04-24 20:04:26 +00:00
Aurelien Foret
abbb2cfcf0 code cleanup 2005-04-24 18:58:34 +00:00
Aurelien Foret
5a13de80a1 fixed the format of %REASON% entry when writing it 2005-04-24 11:27:35 +00:00
Aurelien Foret
cdd81bf177 - fixed a cut'n'paste bug with %REASON% entry
- factorized code between %SIZE% and %CSIZE% reading
2005-04-24 11:24:18 +00:00
Aurelien Foret
85203ff675 use the cache instead of calling db_scan() 2005-04-24 11:17:39 +00:00
Aurelien Foret
95fac9cdb2 code cleanup 2005-04-24 11:15:37 +00:00
Aurelien Foret
2f5060e439 logs cleanup 2005-04-24 11:15:27 +00:00
Aurelien Foret
bcd41a4a3d removed deprecated comments in add_commit() 2005-04-24 11:14:50 +00:00
Aurelien Foret
e1c7d79ecb added transaction events for sync_commit operations 2005-04-24 11:14:15 +00:00
Aurelien Foret
45247b4e35 fixed some potential resource leaks 2005-04-24 09:14:25 +00:00
Aurelien Foret
e2b474b130 rework the cache handling to avoid as much as possible calls to db_scan() 2005-04-23 17:18:31 +00:00
Aurelien Foret
348cb923c7 renamed list_is_ptrin() in list_is_in() 2005-04-23 08:28:13 +00:00
Aurelien Foret
4fcec8f03f first steps to support REPLACES feature 2005-04-20 20:50:49 +00:00
Aurelien Foret
447885fdc3 code beautifying 2005-04-20 20:50:17 +00:00
Aurelien Foret
406f383192 avoided two calls to db_scan() in checkdeps() 2005-04-20 19:46:53 +00:00
Aurelien Foret
b7d584feb6 - fixed args order in list_is_ptrin()
- fixed several memory leaks
2005-04-20 19:41:54 +00:00
Aurelien Foret
49d2cdc2f9 fixed args order in list_is_ptrin() 2005-04-20 19:41:33 +00:00
Aurelien Foret
170dd807f5 - fixed args order in list_is_ptrin() 2005-04-20 19:41:22 +00:00
Aurelien Foret
77520f9d43 avoided a call to db_scan() 2005-04-20 19:40:33 +00:00
Aurelien Foret
3ad6393baf bypass trans_prepare() if there is no target 2005-04-20 19:39:41 +00:00
Aurelien Foret
a215d1ebe0 more work for sync_commit() 2005-04-17 20:09:06 +00:00
Aurelien Foret
cd26093b06 add_loadtarget: load package info only when needed 2005-04-17 10:02:47 +00:00
Aurelien Foret
6dfa3ef6af improved logs for package removal 2005-04-17 10:01:47 +00:00
Aurelien Foret
cb0182160d renamed PM_ERR_INVALID_NAME to PM_ERR_PKG_INVALID_NAME 2005-04-17 10:01:22 +00:00
Aurelien Foret
9b64e31286 more sanity checks for pkg_load() 2005-04-17 10:00:49 +00:00
Aurelien Foret
6e5bbdb544 - general cleanup
- added alpm_trans_sysupgrade() function
- relocated some defines
2005-04-16 22:23:28 +00:00
Aurelien Foret
36087bb392 - reworked pmsyncpkg_t structure
- got ride of uneeded handle external references
2005-04-16 22:15:50 +00:00
Aurelien Foret
29a712e393 - reworked transaction prototypes
- added a trans_sysupgrade function
2005-04-16 22:14:34 +00:00