Commit Graph

38 Commits

Author SHA1 Message Date
Panu Matilainen 8f7874c193 Fix up bunch of silly int vs rpmRC return code mismatches 2010-09-21 11:37:21 +03:00
Panu Matilainen be3c34dd15 Fix rpmReadPackageManifest() on non-fpio FD when libio isn't available
- With libio, fdGetFILE() works on any io-type, but that's not the
  case when libio isn't available. Using fdopen() makes it work
  on both.
2010-09-08 13:01:57 +03:00
Panu Matilainen 4ef65c9a42 Replace equal/not equal uses of str[n]cmp() with rstreq[n] in misc helpers 2009-08-31 12:29:56 +03:00
Panu Matilainen b8102d8f61 Dont accept '-' in manifests (RhBug:461353) 2009-07-14 11:24:02 +03:00
Panu Matilainen a08ececd83 Log message adjustments
- dont waste translator time by having them translate obscure debug messages
- adjust some suspect looking logging levels
- mark some non-debug messages for translation where missing..
2008-03-07 09:47:51 +02:00
Panu Matilainen eb5dc35c19 Include spring-cleaning
- put some consistency into include ordering
- everything (apart from bits missed ;) is now ordered like this
  1. "system.h"
  2. other system includes
  3. rpm public headers
  4. rpm private headers
  5. "debug.h"
2008-01-30 17:05:29 +02:00
Panu Matilainen 99faa2735b rpmlib.h mass eviction
- explicitly include what's really needed instead
- document remaining uses
2008-01-30 13:53:51 +02:00
Panu Matilainen 4f9b7814fa Drop bogus const from rpmReadPackageManifest argvptr
- it's malloced and needs freeing by the caller..
2007-12-18 12:53:57 +02:00
Panu Matilainen 78ad426f04 Remove bogus const from rpmGlob argv return type
- it's malloced and must be freed by caller
2007-12-18 10:17:18 +02:00
Panu Matilainen 9ce13e09ef Switch to <rpm/foo.h> style for public headers
- adjust include paths accordingly
2007-12-08 14:02:32 +02:00
Panu Matilainen 89527785bb Move logging related macros rpmlog, adjust includes 2007-11-30 23:08:38 +02:00
Ralf Corsépius 60939d6985 Expand private include file names to be relative to $(top_srcdir) 2007-11-23 11:39:29 +01:00
Panu Matilainen 7b2a9b3c24 Move rpmGlob() from macros to rpmfileutil.h
- macros is all just macros now
- internal copy of popt stuff needs to go...
2007-11-23 10:27:29 +02:00
Panu Matilainen d6990c3ab1 Move stringbuf into librpmio, rename header
- rename header to more generic rpmstring.h for collecting misc string
  helper functions
2007-11-23 08:11:42 +02:00
Ralf Corsépius abeea80a38 Use #include <x.h> syntax to include public headers. 2007-11-23 06:46:19 +01:00
Panu Matilainen 8239d0b74b Remove bunch of unnecessary misc.h includes, document others 2007-11-07 10:17:10 +02:00
Panu Matilainen 1fe38d71cc Use fdGetFILE() instead of rpmio internal fdGetFp() everywhere 2007-10-29 09:42:21 +02:00
Ralf Corsépius f25c04c1e4 Include "rpmlib.h" instead of <rpmlib.h>. 2007-10-28 06:47:31 +01:00
Ralf Corsépius 9735f83012 Include "rpmio_internal.h" instead of <rpmio_internal.h>. 2007-10-28 06:43:19 +01:00
Ralf Corsépius e36a2ac8da Include "rpmmacro.h" instead of <rpmmacro.h>. 2007-10-28 06:32:05 +01:00
Panu Matilainen 9d9aa852ca Replace all uses of RPMMESS_DEBUG with RPMLOG_DEBUG 2007-10-09 14:48:04 +03:00
Panu Matilainen 4ce9fc1a17 Replace all rpmMessage() uses with rpmlog() 2007-10-09 14:14:30 +03:00
Ralf Corsépius ebef4f211c Remove splint tags. 2007-09-11 19:07:39 +02:00
jbj 421dab010c Do a consolidated insertion, not a concatenation, in rpmReadManifest.
CVS patchset: 7514
CVS date: 2004/10/26 17:42:55
2004-10-26 17:42:55 +00:00
jbj 7138fa3bed Use rpmgi glob and manifest load for --package.
Bugs:
 * @todo An empty file read as manifest truncates argv returning RPMRC_NOTFOUND.
 * @todo Errors, e.g. non-existent path in manifest, will terminate iteration.
 * @todo Chained manifests lose an arg someplace.

CVS patchset: 7507
CVS date: 2004/10/25 00:34:08
2004-10-25 00:34:08 +00:00
jbj e93a77c9b7 Add generalized iterator to rpmlib.
CVS patchset: 7482
CVS date: 2004/10/18 01:08:56
2004-10-18 01:08:56 +00:00
jbj 7e716b70fb splint fiddles.
CVS patchset: 6023
CVS date: 2003/01/23 20:23:24
2003-01-23 20:23:24 +00:00
jbj 05cb73a7ee Factor bounds checking annotations into source code.
CVS patchset: 5521
CVS date: 2002/06/22 18:51:56
2002-06-22 18:51:56 +00:00
jbj ba41c1ccb1 Check S_ISREG explicitly to avoid '?' in ls(1)-like displays.
CVS patchset: 5520
CVS date: 2002/06/21 18:14:03
2002-06-21 18:14:03 +00:00
jbj d57a29baac Converging on lclint-3.0.17 strict level.
CVS patchset: 5118
CVS date: 2001/10/17 16:43:36
2001-10-17 16:43:36 +00:00
jbj 96a3f7a55d Factor -type problems into explicit code annotations.
CVS patchset: 5117
CVS date: 2001/10/16 17:42:18
2001-10-16 17:42:18 +00:00
jbj 72471f2e54 Explicit branchstate annotations.
CVS patchset: 5113
CVS date: 2001/10/15 17:53:34
2001-10-15 17:53:34 +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 8f75bbc17d - enough lclint annotations and fiddles already.
CVS patchset: 4741
CVS date: 2001/05/05 19:28:32
2001-05-05 19:28:32 +00:00
jbj d78e027808 - still more boring lclint annotations and fiddles.
CVS patchset: 4738
CVS date: 2001/05/03 21:00:18
2001-05-03 21:00:18 +00:00
jbj 81ac89f4e6 - more boring lclint annotations and fiddles.
CVS patchset: 4725
CVS date: 2001/04/29 22:43:01
2001-04-29 22:43:01 +00:00
jbj 3b5820c420 - globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.
- internalize locale insensitive ctype(3) in rpmio.h
- boring lclint annotations and fiddles.

CVS patchset: 4721
CVS date: 2001/04/29 01:05:43
2001-04-29 01:05:43 +00:00
jbj f75a3f71ab Doxygen annotations for config files.
Doxygen annotations for rpmdep section.
Add manifests for install modes.

CVS patchset: 4675
CVS date: 2001/04/10 12:36:45
2001-04-10 12:36:45 +00:00