Commit Graph

67 Commits

Author SHA1 Message Date
Panu Matilainen 049674696d Remove const type-qualifiers from function return types everywhere.
They're meaningless in C and cause tonne of build warnings.
2007-07-10 12:15:43 +03:00
Paul Nasrat 0e863398d4 When deleting files, drop any s-bit first, so that a malicious
user does not have access to old programs if he hard links them
to some other directory. [#50376] rh#125517
Patch from OpenSuSE
2007-04-16 13:26:12 +01:00
jbj 8faa61c020 Doxygen fiddles.
CVS patchset: 7495
CVS date: 2004/10/20 10:19:34
2004-10-20 10:19:34 +00:00
jbj 210183cc69 Add lsetfilecon to install modes.
CVS patchset: 7006
CVS date: 2003/12/25 23:00:44
2003-12-25 23:00:44 +00:00
jbj 9c5529608e - don't use error string after gzclose (Dmitry V. Levin).
Spliddles for rpmio, drill h_errno all the way through.

CVS patchset: 6826
CVS date: 2003/05/08 20:39:29
2003-05-08 20:39:29 +00:00
jbj 803528c258 Make peace with automake-1.7.3.
Recheck thread safety markes with fsm synchronous threads.

CVS patchset: 6714
CVS date: 2003/03/23 00:36:13
2003-03-23 00:36:13 +00:00
jbj 86f5190567 Dump multilib code, colored depndencies instead.
CVS patchset: 5990
CVS date: 2002/12/31 02:12:02
2002-12-31 02:12:02 +00:00
jbj 241fad1287 Propagate splint-3.0.1.7 close(2) internalState annotation throughout.
CVS patchset: 5542
CVS date: 2002/07/08 14:21:26
2002-07-08 14:21:26 +00:00
jbj 46bbc20b32 - use rpmdb-redhat to suggest dependency resolution(s).
CVS patchset: 5401
CVS date: 2002/04/13 01:28:20
2002-04-13 01:28:20 +00:00
jbj b45c27e2ab doxygen cleanup.
CVS patchset: 5379
CVS date: 2002/04/08 18:56:01
2002-04-08 18:56:01 +00:00
jbj d8dc44f363 lclint fiddles to annotate globals.
CVS patchset: 5106
CVS date: 2001/10/15 03:22:10
2001-10-15 03:22:10 +00:00
jbj 525f4cb8b1 - ratchet up to lclint "strict" level.
CVS patchset: 5104
CVS date: 2001/10/13 19:35:58
2001-10-13 19:35:58 +00:00
jbj 92556605af - legacy: drop brokenMD5 support (rrpm-2.3.3 to rpm-2.3.8 on sparc).
- eliminate DYING code.

CVS patchset: 5082
CVS date: 2001/09/25 20:51:34
2001-09-25 20:51:34 +00:00
jbj 03e498c64e - fix: don't segfault when presented with rpm-2.4.10 packaging (#49688).
CVS patchset: 4987
CVS date: 2001/07/24 20:39:19
2001-07-24 20:39:19 +00:00
jbj ecfb46adaa - fix: don't total hard linked file size multiple times (#46286).
- add %dev(type,major,minor) directive to permit non-root dev build.

CVS patchset: 4944
CVS date: 2001/07/16 14:48:07
2001-07-16 14:48:07 +00:00
jbj b533de2b27 Yet another patial harlink set fix.
CVS patchset: 4903
CVS date: 2001/06/25 20:01:42
2001-06-25 20:01:42 +00:00
jbj 750d54d8a3 lclint fiddles.
CVS patchset: 4833
CVS date: 2001/06/04 13:55:58
2001-06-04 13:55:58 +00:00
jbj 2be9ecf0eb 1st stab at --repackage.
CVS patchset: 4545
CVS date: 2001/02/11 22:02:29
2001-02-11 22:02:29 +00:00
jbj d991f23281 fix: make a copy of retrieved header before loading.
handle out-of-sync hardlinks as sub-state, don't save the file name.
fix: on build, was broke, add --fsmdebug as well.

CVS patchset: 4537
CVS date: 2001/02/09 20:58:37
2001-02-09 20:58:37 +00:00
jbj 2f9fa168c8 Remove DEAD code.
CVS patchset: 4531
CVS date: 2001/02/08 23:05:05
2001-02-08 23:05:05 +00:00
jbj cc3e5fd3db Move state machine drivers into fsmStage.
Off to fix build's yet again.

CVS patchset: 4530
CVS date: 2001/02/08 21:50:38
2001-02-08 21:50:38 +00:00
jbj e3d5247174 Use fsm for building.
CVS patchset: 4514
CVS date: 2001/02/02 15:04:44
2001-02-02 15:04:44 +00:00
jbj d8b44a5d65 Commit to install file state machine.
CVS patchset: 4509
CVS date: 2001/01/29 22:53:48
2001-01-29 22:53:48 +00:00
jbj f684f63a72 Apply suffixes only to files.
Bundle dev/symlink/fifo/sock into hdr state machine.

CVS patchset: 4505
CVS date: 2001/01/28 19:12:04
2001-01-28 19:12:04 +00:00
jbj 3aeae6be32 Payload state machine, with commit and undo.
CVS patchset: 4503
CVS date: 2001/01/28 02:13:48
2001-01-28 02:13:48 +00:00
jbj dd94329f0c - remove support for v1 src rpm's.
- reposition callbacks with ts/fi in cpio payload layer.

CVS patchset: 4498
CVS date: 2001/01/25 20:26:35
2001-01-25 20:26:35 +00:00
jbj f0853f6843 Add rollback.h, 1st attempt to rationalize TFI_t.
CVS patchset: 4496
CVS date: 2001/01/24 21:35:52
2001-01-24 21:35:52 +00:00
jbj de35e20bf1 Rip XFI_t from install.
CVS patchset: 4495
CVS date: 2001/01/24 15:58:35
2001-01-24 15:58:35 +00:00
jbj 8b7b911a17 Rip out cpioFileMap.
CVS patchset: 4493
CVS date: 2001/01/23 23:03:28
2001-01-23 23:03:28 +00:00
jbj 15439b46c0 Make cpio maps totally opaque.
CVS patchset: 4487
CVS date: 2001/01/22 19:11:19
2001-01-22 19:11:19 +00:00
jbj d07437babb - cpio mappings carry dirname/basename, not absolute path.
CVS patchset: 4474
CVS date: 2001/01/21 15:43:32
2001-01-21 15:43:32 +00:00
jbj 6aafc439da doxygen annotations for popt.
CVS patchset: 4401
CVS date: 2001/01/02 17:19:34
2001-01-02 17:19:34 +00:00
jbj 3e1e23bf06 - verify MD5 sums of payload files when unpacking archive.
CVS patchset: 4225
CVS date: 2000/10/24 13:46:51
2000-10-24 13:46:51 +00:00
jbj 03efb685f1 - pass rpmTransactionSet, not elements, to installBinaryPackage et al.
CVS patchset: 4221
CVS date: 2000/10/20 22:04:27
2000-10-20 22:04:27 +00:00
jbj c0424122dd - rip out rpm{get,put}text, use getpo.sh and specspo instead.
CVS patchset: 4139
CVS date: 2000/08/28 01:50:45
2000-08-28 01:50:45 +00:00
jbj 8c10883fdd Doxygen annotations.
CVS patchset: 4138
CVS date: 2000/08/28 01:08:57
2000-08-28 01:08:57 +00:00
jbj a131131381 Doxygen annotations.
CVS patchset: 4130
CVS date: 2000/08/27 19:18:25
2000-08-27 19:18:25 +00:00
jbj fca172125b lclint/doxygen additions.
CVS patchset: 4101
CVS date: 2000/08/23 12:39:49
2000-08-23 12:39:49 +00:00
jbj 625d765b6e lclint fiddles.
avoid pathological buffer overflow in lib/rpmrc.c

CVS patchset: 3922
CVS date: 2000/07/07 20:06:41
2000-07-07 20:06:41 +00:00
jbj a463744b6d - change optflags for i386.
- multilib patch, take 1.

CVS patchset: 3920
CVS date: 2000/07/05 20:39:15
2000-07-05 20:39:15 +00:00
jbj 1b0ce7471b fix: don't change hardlink st_size.
CVS patchset: 3738
CVS date: 2000/05/18 12:11:51
2000-05-18 12:11:51 +00:00
jbj cab176172b - API: change dbi to pass by reference, not value.
- cram all of db1, db_185, and db2 interfaces into rpmlib.

CVS patchset: 3636
CVS date: 2000/03/23 15:49:50
2000-03-23 15:49:50 +00:00
jbj 64f2549d63 Documentation comments.
CVS patchset: 3537
CVS date: 2000/01/24 22:13:45
2000-01-24 22:13:45 +00:00
jbj 00304183a4 Doxygen fiddles.
CVS patchset: 3528
CVS date: 2000/01/19 22:51:39
2000-01-19 22:51:39 +00:00
jbj 0d0b405c20 use compressed filenames on install side.
start unifying FD types, CFD_t now gone.

CVS patchset: 3402
CVS date: 1999/10/27 23:18:10
1999-10-27 23:18:10 +00:00
jbj 3ae84a6867 lclint annotations.
CVS patchset: 3390
CVS date: 1999/10/21 15:04:25
1999-10-21 15:04:25 +00:00
jbj 6bdf51d7f3 Start experimental support for bzip2 payloads.
CVS patchset: 3309
CVS date: 1999/09/20 13:34:47
1999-09-20 13:34:47 +00:00
jbj aea37e9047 lclint annotations.
CVS patchset: 3293
CVS date: 1999/09/17 21:31:38
1999-09-17 21:31:38 +00:00
jbj b8d3c0d56a lclint annotations.
CVS patchset: 3288
CVS date: 1999/09/17 20:40:41
1999-09-17 20:40:41 +00:00
jbj 8bd997f2e0 Perl bindings need
#include <foo.h>
not
	#include "foo.h"

CVS patchset: 3143
CVS date: 1999/07/13 21:37:57
1999-07-13 21:37:57 +00:00