1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 08:18:51 -05:00
pacman/lib/libalpm
Xavier Chantry 2c2596177d dload.c : clear sigaction flag to make valgrind happy
This fixes the following valgrind warning :

==26831== Syscall param rt_sigaction(act->sa_flags) points to uninitialised
byte(s)
==26831==    at 0x4282547: __libc_sigaction (in /lib/libc-2.10.1.so)
==26831==    by 0x403C693: download_internal (dload.c:152)
==26831==    by 0x403D0E4: _alpm_download_single_file (dload.c:311)
==26831==    by 0x4033B72: alpm_db_update (be_files.c:319)
==26831==    by 0x805205E: pacman_sync (sync.c:257)
==26831==    by 0x804EE54: main (pacman.c:1120)
==26831==  Address 0xbec6cc04 is on thread 1's stack
==26831==
==26831== Syscall param rt_sigaction(act->sa_restorer) points to
uninitialised byte(s)
==26831==    at 0x4282547: __libc_sigaction (in /lib/libc-2.10.1.so)
==26831==    by 0x403C693: download_internal (dload.c:152)
==26831==    by 0x403D0E4: _alpm_download_single_file (dload.c:311)
==26831==    by 0x4033B72: alpm_db_update (be_files.c:319)
==26831==    by 0x805205E: pacman_sync (sync.c:257)
==26831==    by 0x804EE54: main (pacman.c:1120)
==26831==  Address 0xbec6cc08 is on thread 1's stack
==26831==

Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-10-20 22:25:39 -05:00
..
po Update Chinese translation 2009-10-11 12:55:17 -05:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c typing: a few more fixes for special int types 2009-10-11 14:41:59 -05:00
add.h Change the interface for target loading 2009-09-12 13:06:43 +02:00
alpm_list.c alpm_list : add new alpm_list_diff_sorted function 2009-10-11 15:28:10 -05:00
alpm_list.h alpm_list : add new alpm_list_diff_sorted function 2009-10-11 15:28:10 -05:00
alpm.c Update copyright headers and messages 2009-07-01 02:08:33 -05:00
alpm.h use bitwise shift operator in enum "bit field" 2009-10-11 22:13:49 -05:00
backup.c typing: a few more fixes for special int types 2009-10-11 14:41:59 -05:00
backup.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
be_files.c Size handling was changed in fgets() functions 2009-10-19 07:37:53 -05:00
be_package.c cygwin fix : use unsigned char for ctype function 2009-10-11 15:12:20 -05:00
cache.c Update copyright headers and messages 2009-07-01 02:08:33 -05:00
cache.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
conflict.c Remove transaction type 2009-09-08 22:17:41 -05:00
conflict.h Add a new reason field to pmconflict_t struct 2009-09-08 21:58:52 -05:00
db.c int typing: s/unsigned short/int/ in libalpm 2009-10-11 13:51:47 -05:00
db.h use bitwise shift operator in enum "bit field" 2009-10-11 22:13:49 -05:00
delta.c delta : simple code refactoring 2009-09-20 11:57:12 -05:00
delta.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
deps.c Use sync.c for upgrade transaction prepare and commit 2009-09-08 22:04:14 -05:00
deps.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
dload.c dload.c : clear sigaction flag to make valgrind happy 2009-10-20 22:25:39 -05:00
dload.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
error.c sync.c : duplicate the target before modifying it 2009-09-20 11:56:46 -05:00
graph.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
group.c Update copyright headers and messages 2009-07-01 02:08:33 -05:00
group.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
handle.c Add missing get_usedelta() method 2009-10-11 14:42:04 -05:00
handle.h int typing: s/unsigned short/int/ in libalpm 2009-10-11 13:51:47 -05:00
log.c Update copyright headers and messages 2009-07-01 02:08:33 -05:00
log.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
Makefile.am Refactor pkg_load/parse_descfile into a new backend file 2008-05-11 20:07:55 -05:00
md5.c Fix compile warning fail on older versions of GCC 2009-06-30 23:14:18 -05:00
md5.h libalpm/md5: Fix license header 2008-06-03 21:31:31 -05:00
package.c int typing: s/unsigned short/int/ in libalpm 2009-10-11 13:51:47 -05:00
package.h int typing: s/unsigned short/int/ in libalpm 2009-10-11 13:51:47 -05:00
remove.c Reduce calls to list_count() in removing package 2009-10-11 14:42:04 -05:00
remove.h Change the interface for target loading 2009-09-12 13:06:43 +02:00
sync.c Fix "-Sd conflict_pkg" bug 2009-10-11 15:30:52 -05:00
sync.h Change the interface for target loading 2009-09-12 13:06:43 +02:00
trans.c Size handling was changed in fgets() functions 2009-10-19 07:37:53 -05:00
trans.h Remove transaction type 2009-09-08 22:17:41 -05:00
util.c Rework the alpm_unpack functions 2009-10-11 15:18:47 -05:00
util.h Rework the alpm_unpack functions 2009-10-11 15:18:47 -05:00