summaryrefslogtreecommitdiff
path: root/lib/misc.h
AgeCommit message (Collapse)AuthorFilesLines
2008-11-05Nuke the ugly hardwired "known arch" list from label parsingPanu Matilainen1-0/+4
- we have list of known archs in rpmrc, might as well use it - avoids having to patch & recompile rpm just to have rpmtsInitIterator() recognize new archs when it's runtime configurable otherwise - checking against compatible arch would be saner except then people could get into even more trouble using --ignorearch...
2008-10-10And out goes rpmMkdirPath()Panu Matilainen1-10/+0
2008-10-09Mark uidToUname() and friends as internalPanu Matilainen1-0/+7
2008-07-04Stuff rpmio/ugid.[ch] contents to lib/misc.[ch]Panu Matilainen1-0/+13
- no uses outside librpm itself, and there they can be hidden away from exported ABI whereas in librpmio they cant
2008-06-03Rip doputenv() for goodPanu Matilainen1-7/+0
2008-06-03Rip dosetenv()Panu Matilainen1-9/+0
- just use regular setenv() instead - we already carry setenv() in misc/ for platforms that don't have it
2008-04-04Rename currentDirectory() to rpmGetCwd() and move to librpmioPanu Matilainen1-6/+0
2008-01-30rpmlib.h mass evictionPanu Matilainen1-0/+1
- explicitly include what's really needed instead - document remaining uses
2007-11-22Move makeTempFile() from misc.h to rpmfileutil.hPanu Matilainen1-17/+0
- probably not very useful outside rpm but used all over the tree, - rename to rpmMkTempFile() for namespacing since we're exporting it now
2007-11-23Move string helpers from lib/misc.h to rpmio/rpmstring.hPanu Matilainen1-30/+0
- splitString, freeSplitString, stripTrailingChar
2007-09-11Remove splint tags.Ralf Corsépius1-27/+11
2007-07-09Fix include of misc.h, rpmpgp.h and rpmsq.h in C++.Panu Matilainen1-0/+2
2004-03-02- permit globs in macrofiles: directive (#117217).jbj1-13/+0
CVS patchset: 7139 CVS date: 2004/03/02 01:31:01
2003-05-08- don't use error string after gzclose (Dmitry V. Levin).jbj1-2/+2
Spliddles for rpmio, drill h_errno all the way through. CVS patchset: 6826 CVS date: 2003/05/08 20:39:29
2002-07-08Propagate splint-3.0.1.7 close(2) internalState annotation throughout.jbj1-2/+2
CVS patchset: 5542 CVS date: 2002/07/08 14:21:26
2002-07-04- fix: forgot lazy open of database on --freshen path (#67907).jbj1-0/+11
- proof-of-concept rpmcache functionality. CVS patchset: 5539 CVS date: 2002/07/04 21:08:05
2002-06-22Factor bounds checking annotations into source code.jbj1-0/+2
CVS patchset: 5521 CVS date: 2002/06/22 18:51:56
2002-04-08doxygen cleanup.jbj1-1/+1
CVS patchset: 5379 CVS date: 2002/04/08 18:56:01
2001-10-29Remove DYING code.jbj1-8/+0
CVS patchset: 5139 CVS date: 2001/10/29 16:39:13
2001-10-21- all symbols but hdrVec are now forward references in linkage.jbj1-73/+2
CVS patchset: 5128 CVS date: 2001/10/21 21:43:32
2001-10-20- stupid macros to configure public key file paths.jbj1-9/+0
CVS patchset: 5127 CVS date: 2001/10/20 22:31:09
2001-10-19- beecrypt is at least as good as pgp/gpg on verify, pull the plug.jbj1-6/+0
CVS patchset: 5124 CVS date: 2001/10/19 19:51:18
2001-10-17Converging on lclint-3.0.17 strict level.jbj1-2/+6
CVS patchset: 5118 CVS date: 2001/10/17 16:43:36
2001-10-15lclint fiddles to annotate globals.jbj1-7/+19
CVS patchset: 5106 CVS date: 2001/10/15 03:22:10
2001-09-29- create RFC-2440 OpenPGP API in rpmio.jbj1-3/+1
- display signature packets before exec'ing gpg/pgp when verifying. CVS patchset: 5090 CVS date: 2001/09/29 17:44:45
2001-09-25- legacy: drop brokenMD5 support (rrpm-2.3.3 to rpm-2.3.8 on sparc).jbj1-40/+29
- eliminate DYING code. CVS patchset: 5082 CVS date: 2001/09/25 20:51:34
2001-09-25- drop rpmio/base64.[ch] in favor of beecrypt.jbj1-0/+77
- drop lib/md5*.[ch] files in favor of beecrypt. CVS patchset: 5081 CVS date: 2001/09/25 16:21:44
2001-09-15Sync with rpm-4_0 branch.jbj1-7/+0
CVS patchset: 5048 CVS date: 2001/09/15 13:49:11
2001-06-17Sync with rpm-4_0 branch.jbj1-2/+5
CVS patchset: 4876 CVS date: 2001/06/17 22:18:03
2001-06-17- popt: add POPT_ARGFLAG_SHOW_DEFAULT to display initial values (#32558).jbj1-2/+2
CVS patchset: 4872 CVS date: 2001/06/17 00:36:01
2001-06-12- remove dead code frpm popt table reorg.jbj1-1/+12
- more CLI typedefs/prototypes moved from rpmlib.h to rpmcli.h. - rpm --verify skips files in non-installed states. - rpm --verify skips content checks for %ghost files. - rpm --verify displays config/doc/gnost/license/readme atrrs for files. - rpm --verify checks immutable header region digest if available. - rpmbuild adds header region digest (SHA1 as string). - use rpmTag* typedefs in new hge/hae/hme/hre header vectors. CVS patchset: 4854 CVS date: 2001/06/12 04:10:21
2001-06-05- fix typos in linux.{req,prov}.jbj1-1/+1
CVS patchset: 4834 CVS date: 2001/06/05 19:26:22
2001-06-04lclint fiddles.jbj1-14/+27
CVS patchset: 4833 CVS date: 2001/06/04 13:55:58
2001-05-31- return multiple suggested packages (Pawel Kolodziej <pawelk@pld.org.pl>).jbj1-5/+7
- fix: return suggested packages when using Depends cache. CVS patchset: 4823 CVS date: 2001/05/31 22:31:14
2001-04-29- globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.jbj1-1/+2
- 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-10Doxygen annotations for config files.jbj1-1/+2
Doxygen annotations for rpmdep section. Add manifests for install modes. CVS patchset: 4675 CVS date: 2001/04/10 12:36:45
2001-01-26lclint annotations.jbj1-8/+0
CVS patchset: 4500 CVS date: 2001/01/26 17:06:09
2001-01-09- tsorted packages processed in successor count order.jbj1-2/+13
- fix: resurrect --excludepath (#19666). CVS patchset: 4418 CVS date: 2001/01/09 04:07:49
2000-08-27Doxygen annotations.jbj1-0/+4
CVS patchset: 4132 CVS date: 2000/08/27 19:27:03
2000-08-23doxygen annotations.jbj1-4/+53
CVS patchset: 4105 CVS date: 2000/08/23 13:02:13
2000-06-09Remove dead code.jbj1-11/+0
CVS patchset: 3823 CVS date: 2000/06/09 19:33:52
2000-06-09Move low level support routines to librpmio.jbj1-0/+3
CVS patchset: 3822 CVS date: 2000/06/09 18:57:23
2000-04-13add explcit "Provides: name = [epoch:]version-release" to headers.jbj1-0/+2
CVS patchset: 3678 CVS date: 2000/04/13 17:59:10
2000-03-23- API: change dbi to pass by reference, not value.jbj1-1/+2
- cram all of db1, db_185, and db2 interfaces into rpmlib. CVS patchset: 3636 CVS date: 2000/03/23 15:49:50
1999-12-12lib/rpminstall.c: Perform glob on remote ftp install args.jbj1-1/+1
lib/misc.[ch]: Rename remoteGlob to rpmGlob. Preserve glob_error behavior. build/files.c: Ditto. lib/rpmio.c: Collapse ftpFileDesc() into ftpReq(). lib/rpmio.c: Eliminate all uses of u->path. lib/url.c: Ditto. lib/url.c: Tweak url cache code to reuse empty slots (never happens). CVS patchset: 3478 CVS date: 1999/12/12 17:46:22
1999-12-12perform glob on remote ftp queries.jbj1-0/+1
fix: ftpAbort must close the data channel to read abort status. CVS patchset: 3477 CVS date: 1999/12/12 01:46:13
1999-12-11partial implementation for ftp globbing.jbj1-0/+2
CVS patchset: 3474 CVS date: 1999/12/11 17:53:25
1999-12-01Add underscore in front of (possibly) non-supported FDIO_t vectors.jbj1-2/+0
Make buildFileList() part of rpmlib API as rpmBuildFileList(). lib/rpmdb.c: Compare fingerprints from different caches by value. CVS patchset: 3448 CVS date: 1999/12/01 19:57:17
1999-11-26Consistent usage for fileNames, baseNames, dirNames and dirIndexes throughout.jbj1-15/+16
rpm.c: Add --nodirtokens and --dirtokens to control file list compression. lib/misc.c: Default (conservative) valuse _noDirTokens is TRUE. lib/misc.c: Add expandFileList analogue to compressFileList. build/pack.c: Compress file list only if compression is requested. lib/rpmdb.c: Expand file list before headerWrite if compression not requested. CVS patchset: 3436 CVS date: 1999/11/26 21:58:42
1999-10-30Make fdFileno() static, use Fileno()/Ferror() analogues throughout.jbj1-2/+2
Make ufdClose() static, use Fclose() with ufdio cookie throughout. rpm.c: Clean urlinfoCache and rpmBuildArgs leaks. url.c: urlIsURL() should be here, not in rpmio.c. url.c: Preserve FD_t abstraction by creating ufdGetUrlinfo(). url.c: Create freeUrlinfoCache(). rpmio.c: Create ufdio cookie. CVS patchset: 3407 CVS date: 1999/10/30 16:43:29