1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 08:18:51 -05:00
pacman/lib/libalpm
Dan McGee 843d368ef6 libalpm/add.c: fix backup array issue
As seen with the recent upgrade of pacman and the removal of the
pacman.d/current mirrorlist, files that were formerly in the backup array
get deleted upon their removal, which could be dangerous. Instead, we should
use the combined backup array of the old and new package. This fix should
address this issue in a relatively straightforward way.

In addition, old files should be moved to pacsave locations as expected.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-09-23 20:48:04 -05:00
..
po libalpm: remove outdated files from POTFILES.in 2007-09-04 07:12:57 -05:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c libalpm/add.c: fix backup array issue 2007-09-23 20:48:04 -05:00
add.h Preliminary checkin for alpm_list conversion 2007-01-19 09:28:44 +00:00
alpm_list.c libalpm/alpm_list.c : add SYMEXPORT to all alpm_list_ functions. 2007-07-20 10:28:07 -04:00
alpm_list.h Const correctness! 2007-06-05 17:34:33 -04:00
alpm.c libalpm/db.c : add alpm_db_unregister_all. 2007-08-16 11:08:17 -04:00
alpm.h trans.c : reworking of transaction interruptions 2007-09-16 20:17:44 -05:00
backup.c Remove support for SHA1 from pacman. 2007-08-16 11:30:38 -04:00
backup.h Const correctness! 2007-06-05 17:34:33 -04:00
be_files.c Remove the DB consistency check from pacman and libalpm. 2007-09-16 20:10:18 -05:00
cache.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
cache.h Big commit this time: 2007-03-03 08:13:59 +00:00
conflict.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
conflict.h This commit looks much more monumental than it is. Almost all just #include 2007-03-05 22:13:33 +00:00
db.c trans.c : reworking of transaction interruptions 2007-09-16 20:17:44 -05:00
db.h Remove the DB consistency check from pacman and libalpm. 2007-09-16 20:10:18 -05:00
deps.c libalpm/deps.c : export _alpm_checkdeps (-> alpm_checkdeps). 2007-09-11 20:42:03 -05:00
deps.h libalpm/deps.c : cleanup + little fix for resolvedeps. 2007-07-15 10:37:38 -04:00
error.c make alpm_strerror binding friendly 2007-09-11 20:58:27 -05:00
error.h make alpm_strerror binding friendly 2007-09-11 20:58:27 -05:00
group.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
group.h Remove FREEGRP macro and correctly type _alpm_grp_free 2007-04-27 20:38:54 -04:00
handle.c Avoid segfaults whet calling alpm_option_get_* before initialization 2007-09-17 21:59:02 -05:00
handle.h Clean up the alpm handle 2007-07-09 15:23:26 -04:00
log.c Clean up the alpm handle 2007-07-09 15:23:26 -04:00
log.h Remove logmask stuff from backend; switch logging callback to new pm_printf 2007-06-09 12:57:50 -04:00
Makefile.am Clean up MD5 code. 2007-08-16 13:17:33 -04:00
md5.c Add const qualifier to md5_file and alpm_get_md5sum 2007-08-20 12:58:17 -04:00
md5.h Add const qualifier to md5_file and alpm_get_md5sum 2007-08-20 12:58:17 -04:00
package.c alpm: removed unused strtoupper wrapper, remove installeddate on parse_descfile 2007-09-23 12:20:48 -05:00
package.h Remove support for SHA1 from pacman. 2007-08-16 11:30:38 -04:00
provide.c This commit looks much more monumental than it is. Almost all just #include 2007-03-05 22:13:33 +00:00
provide.h * Enforce const char* params when using strings 2007-02-26 08:38:48 +00:00
remove.c libalpm/add.c: fix backup array issue 2007-09-23 20:48:04 -05:00
remove.h Preliminary checkin for alpm_list conversion 2007-01-19 09:28:44 +00:00
server.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
server.h Fix for FS 6404 and functionalize some cachedir handling stuff 2007-08-20 15:23:46 -04:00
sync.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
sync.h Remove FREESYNC macro and correctly type _alpm_sync_free 2007-04-27 14:53:01 -04:00
trans.c trans.c : reworking of transaction interruptions 2007-09-16 20:17:44 -05:00
trans.h Fix some errors spit out by -Wextra 2007-08-16 16:19:06 -04:00
util.c alpm: removed unused strtoupper wrapper, remove installeddate on parse_descfile 2007-09-23 12:20:48 -05:00
util.h alpm: removed unused strtoupper wrapper, remove installeddate on parse_descfile 2007-09-23 12:20:48 -05:00