rpm/lib
Jes Sorensen f34030816d rpmfiArchiveRead() use signed return value to handle -1 on error
size_t is unsigned, so returning -1 is not going to have the expected
behavior. Fix it to return ssize_t.

Signed-off-by: Jes Sorensen <jsorensen@fb.com>
2020-05-13 11:07:49 +03:00
..
backend ndb: make rpmxdbWriteHeader a void function 2020-04-14 13:22:12 +03:00
Makefile.am Drop the experimental LMDB backend 2020-03-20 12:31:04 +02:00
cpio.c Flush 1998 vintage fcntl-compatibility mess from system.h 2020-04-02 13:53:38 +03:00
cpio.h Fix doxygen warnings 2015-02-17 15:31:22 +01:00
depends.c Don't look into source package provides in depsolving 2020-04-22 15:36:29 +03:00
formats.c Introduce a new qualifier for meta dependencies (RhBug:1648721) 2020-02-27 12:17:45 +01:00
fprint.c Add fingerprint lookup/compare variants that take ids 2020-02-24 11:54:22 +02:00
fprint.h Add fingerprint lookup/compare variants that take ids 2020-02-24 11:54:22 +02:00
fsm.c Only enable flush_io and minimize_writes on positive values 2020-02-19 13:26:37 +01:00
fsm.h Fix doxygen warnings 2015-02-17 15:31:22 +01:00
gentagtbl.sh Use actual enum values in tag table sentinel to avoid int/enum mismatch 2010-09-21 15:26:25 +03:00
header.c Avoid modifying header on export 2019-09-27 15:17:00 +03:00
header.h Eliminate the umphteen deprecated N(E)VR(A) etc getter APIs 2016-10-24 12:37:18 +03:00
header_internal.h Make retrofit etc helpers static again now that we can 2018-04-25 16:27:45 +03:00
headerfmt.c Handle incomplete escape seq in queryformat (RhBug:1755230) 2019-11-04 12:49:43 +02:00
headerutil.c Don't reload to legacy image on headerCopy() 2017-03-01 15:38:34 +02:00
manifest.c Only permit comments at beginning of line in file manifests (RhBug:112727) 2019-10-30 14:58:47 +01:00
manifest.h Drop bogus const from rpmReadPackageManifest argvptr 2007-12-18 12:53:57 +02:00
misc.h Clean up rpmdb leftovers from an atexit() handler. 2016-12-13 11:19:03 +02:00
order.c Add + use a bitmask for order-agnostic dependency types 2018-11-16 14:17:07 +02:00
package.c Visibly deprecate RPM v3 support 2020-03-10 11:56:51 +02:00
poptALL.c Use --dpbath only with full path (RhBug:1696408) 2019-04-24 13:38:50 +03:00
poptI.c Add package verification step to transactions 2018-05-09 14:16:07 +03:00
poptQV.c Add support for --whatconflicts for good measure 2018-06-12 14:06:55 +03:00
psm.c Honor RPMSENSE_MISSINGOK on src.rpm rpmlib() dependencies too 2019-10-28 15:29:50 +02:00
query.c Reset global macro state after each spec query/parse 2020-02-12 10:23:23 +01:00
relocation.c Eliminate a mindless switch-case in rpmInstallLoadMacros() 2016-12-09 09:20:10 +02:00
rpmal.c Kick out leftover development-time assert checks from rpmal 2020-04-22 15:38:35 +03:00
rpmal.h Use the transaction set as argument in rpmalCreate() 2020-02-24 11:54:22 +02:00
rpmarchive.h rpmfiArchiveRead() use signed return value to handle -1 on error 2020-05-13 11:07:49 +03:00
rpmcallback.h Add package verification step to transactions 2018-05-09 14:16:07 +03:00
rpmchecksig.c Resurrect --prtpkts debug switch functionality 2019-10-31 11:59:20 +01:00
rpmchroot.c Flush 1998 vintage fcntl-compatibility mess from system.h 2020-04-02 13:53:38 +03:00
rpmchroot.h Add "c++ protection" to (hopefully) all of our internal headers 2010-09-21 15:21:12 +03:00
rpmcli.h Fix rpmVerifySignatures() passing garbage as verify flags in rpm >= 4.14 2019-06-13 10:09:01 +02:00
rpmdb.c Add an index sync call at the end of a database rebuild 2020-04-14 13:22:12 +03:00
rpmdb.h Implement a key-only rpmdb index iterator 2019-12-09 11:39:48 +02:00
rpmdb_internal.h Add a --salvagedb option to the rpmdb tool 2020-02-26 12:50:22 +02:00
rpmds.c Fix parameter hiding in rpmdsNewPool() 2019-10-30 14:54:09 +01:00
rpmds.h Introduce a new qualifier for meta dependencies (RhBug:1648721) 2020-02-27 12:17:45 +01:00
rpmds_internal.h Eliminate rpmdsNotify() from the API + Python bindings 2017-03-28 16:34:12 +03:00
rpmfi.c rpmfiArchiveRead() use signed return value to handle -1 on error 2020-05-13 11:07:49 +03:00
rpmfi.h Fix missing @param in rpmfilesVerify() and rpmfiVerify() doxygen doco 2016-12-01 11:39:04 +02:00
rpmfi_internal.h Add mode for updating with minimal writing (RhBug:783480) 2017-04-21 13:50:50 +03:00
rpmfiles.h Improve hardlink handling in the disk space calculation 2018-02-19 13:24:58 +02:00
rpmfs.c Reset file actions between rpmtsRun() calls (RhBug:1076552) 2014-03-21 12:44:03 +02:00
rpmfs.h Reset file actions between rpmtsRun() calls (RhBug:1076552) 2014-03-21 12:44:03 +02:00
rpmgi.c Remove some unnecessary assignments flagged by cppcheck 2016-07-29 17:41:36 +02:00
rpmgi.h Stop abusing enum typedefs for bitfield types 2010-09-21 11:10:14 +03:00
rpmhash.C Fix memory leak in rpmhash implementation 2014-09-16 11:12:10 +02:00
rpmhash.H Add alternative hash key add/get/check methods with prehashed key 2012-09-05 10:38:36 +03:00
rpminstall.c Eliminate rpmcliVSFlags from core transaction code 2018-06-27 15:14:22 +03:00
rpmlead.c Plug the last data "leak" from rpmlead 2018-04-18 14:36:01 +03:00
rpmlead.h Plug the last data "leak" from rpmlead 2018-04-18 14:36:01 +03:00
rpmlib.h Drop leftover popt.h include from rpmlib.h 2019-06-03 16:27:32 +02:00
rpmliblua.c Avoid using types from Lua includes in rpmlua.h again 2019-10-10 16:34:12 +03:00
rpmliblua.h Add "c++ protection" to (hopefully) all of our internal headers 2010-09-21 15:21:12 +03:00
rpmlock.c Flush 1998 vintage fcntl-compatibility mess from system.h 2020-04-02 13:53:38 +03:00
rpmlock.h Export rpmlock release method internally as well 2013-03-11 11:12:35 +02:00
rpmplugin.h Drop the experimental collection support 2014-06-17 16:27:24 +03:00
rpmplugins.c Move <dlfcn.h> out of system.h 2020-02-04 16:39:16 +02:00
rpmplugins.h Fix doxygen warnings 2015-02-17 15:31:22 +01:00
rpmpol.h Stop abusing enum typedefs for bitfield types 2010-09-21 11:10:14 +03:00
rpmprob.c Clarify the disk space problem messages 2019-10-07 14:40:19 +03:00
rpmprob.h Add package verification step to transactions 2018-05-09 14:16:07 +03:00
rpmps.c Fix couple of incorrect sizeof() uses 2011-03-17 14:08:54 +02:00
rpmps.h Eliminate all fooUnlink() functions out of the API 2010-09-13 13:08:33 +03:00
rpmrc.c Improve ARM detection 2018-10-01 15:46:03 +03:00
rpmscript.c Flush 1998 vintage fcntl-compatibility mess from system.h 2020-04-02 13:53:38 +03:00
rpmscript.h Make scriptlet error behavior a property of rpmScript "objects" 2018-03-09 12:21:37 +02:00
rpmtag.h Implement support for alternative (uncompressed) payload digest 2019-10-28 15:27:56 +02:00
rpmtd.c Fix pointer dereference before testing for NULL in rpmtdGetNumber() 2020-02-06 15:32:54 +01:00
rpmtd.h Add --queryformats for displaying numbers human readable (#375) 2018-03-01 15:43:25 +01:00
rpmte.c Use an erase element to delete packages with same NEVRA 2019-07-22 16:42:15 +02:00
rpmte.h Record package verification results into transaction elements 2019-04-09 11:04:02 +02:00
rpmte_internal.h Use an erase element to delete packages with same NEVRA 2019-07-22 16:42:15 +02:00
rpmtriggers.c Always execute file trigger scriptlet callbacks with owning header 2019-10-15 13:29:18 +03:00
rpmtriggers.h Fixups to file trigger internal api docs + comments 2017-12-13 12:06:45 +02:00
rpmts.c Flush 1998 vintage fcntl-compatibility mess from system.h 2020-04-02 13:53:38 +03:00
rpmts.h Record package verification results into transaction elements 2019-04-09 11:04:02 +02:00
rpmts_internal.h Add a public API for controlling package verification flags 2018-06-27 14:49:39 +03:00
rpmtypes.h Chainsaw rpmfi iteration apart from the actual file set 2013-11-07 14:27:26 +02:00
rpmug.c Generalize primary user/group for platforms (#210) 2017-05-18 16:50:18 +03:00
rpmug.h Initialize all the name services we need 2014-01-28 09:45:55 +02:00
rpmvercmp.c Add support for sorting caret ('^') higher than base version 2018-11-26 12:32:10 +02:00
rpmvs.c Implement support for alternative (uncompressed) payload digest 2019-10-28 15:27:56 +02:00
rpmvs.h Implement verify support for alternative digests and signatures 2019-10-28 15:27:56 +02:00
signature.c Don't require signature header to be in single contiguous region part II 2020-01-10 10:31:47 +02:00
signature.h Lift all the new signature stuff into new rpmvs.[ch] source + header 2017-04-28 10:41:58 +03:00
tagexts.c Make sure getNEVRA always sets td.data 2016-04-26 10:05:35 +02:00
tagname.c Make arrays static so valgrind does not complain about lost memory 2016-03-31 11:53:31 +02:00
transaction.c Flush 1998 vintage fcntl-compatibility mess from system.h 2020-04-02 13:53:38 +03:00
verify.c Flush 1998 vintage fcntl-compatibility mess from system.h 2020-04-02 13:53:38 +03:00