Commit Graph

32 Commits

Author SHA1 Message Date
Panu Matilainen a2a6060a6c Eliminate unused truncStringBuf() function
- This has been unused at least as far back as rpm 4.4 actually...
2010-10-29 10:21:45 +03:00
Panu Matilainen b3c6d5a395 Now, make getStringBuf() return const char * for correctness sake 2010-10-28 11:58:02 +03:00
Panu Matilainen 98aff6e658 Handle NULL sb in getStringBuf() cleanly 2010-10-28 10:38:40 +03:00
Panu Matilainen 21e0e5cd48 Bury StringBuf inside librpmbuild internals 2010-10-26 23:36:46 +03:00
Panu Matilainen 555f699f11 Mass eviction of remaining internal helpers in librpmbuild API
- Yank everything qualifying as "internal helper function" into
  internal-only headers, loosely grouped as follows:
  1) Everything involving spec-manipulation goes into rpmbuild_internal.h
  2) All other miscellaneous helpers go into rpmbuild_misc.h
- This leaves us a rather minimal, and nearly useful API into librpmbuild:
  Users need to be able to parse a spec, query or build (parts of) it
  and free up the spec structure when done. This is what we have now,
  various still exposed structures not counting.
2010-08-25 15:41:09 +03:00
Panu Matilainen 8fe27d49e1 Move <ctype.h> include out of system.h to the places that need it 2010-01-05 15:33:47 +02:00
Panu Matilainen e5d4fc50c2 Missing const in parseUnsignedNum() 2008-07-07 18:11:59 +03:00
Jindrich Novy 0f8102c1ed Avoid reading negative constants from SourceXX, PatchXX tags
- convert parseNum() to parseUnsignedNum()
- don't misleadingly declare it to return int, when the result is
  always unsigned due to strtoul() call
2008-07-01 12:54:12 +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
Ralf Corsépius abeea80a38 Use #include <x.h> syntax to include public headers. 2007-11-23 06:46:19 +01:00
Ralf Corsépius 32419bbba5 Remove splint tags. 2007-09-11 23:03:27 +02:00
jbj 13d177beb2 Add boundswrite annotations everywhere.
CVS patchset: 5522
CVS date: 2002/06/23 19:47:08
2002-06-23 19:47:08 +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 2e13767946 doxygen annotations for build/*.
- fix: don't hang on build error.
- fix: remove "error: " prefix from signature verification message.

CVS patchset: 4426
CVS date: 2001/01/11 14:13:04
2001-01-11 14:13:04 +00:00
jbj db32ab6bea Sync with rpm-4_0 branch.
CVS patchset: 4338
CVS date: 2000/12/12 20:03:45
2000-12-12 20:03:45 +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 dd35cf769b Documentation sugar.
CVS patchset: 3533
CVS date: 2000/01/24 20:02:32
2000-01-24 20:02:32 +00:00
jbj c8406c80d2 lib/macro.c: Create rpmCleanPath().
build/misc.c: Delete cleanFileName().

CVS patchset: 3435
CVS date: 1999/11/26 16:19:30
1999-11-26 16:19:30 +00:00
jbj 7b4cf4bf19 fix: resurrect multiple target platform builds.
CVS patchset: 3404
CVS date: 1999/10/29 23:03:12
1999-10-29 23:03:12 +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 30fde13087 add name/version/release macros during src.rpm install.
attempt mkdir sourcedir/specdir during src.rpm install.

CVS patchset: 2938
CVS date: 1999/04/03 00:05:03
1999-04-03 00:05:03 +00:00
jbj 5fbc0dd6c3 add explicit macrofiles path to rpmrc.
CVS patchset: 2933
CVS date: 1999/03/31 20:37:55
1999-03-31 20:37:55 +00:00
jbj bc76393a17 eliminate old rpmrc configuration syntax.
CVS patchset: 2905
CVS date: 1999/03/20 21:09:47
1999-03-20 21:09:47 +00:00
jbj b2fd4c2d88 Add dup for the "other" gzdopen premature close.
CVS patchset: 2556
CVS date: 1998/11/25 00:42:36
1998-11-25 00:42:36 +00:00
jbj 1607fbe7a3 Consolidate i18n baggage into AM_GNU_GETTEXT and system.h.
CVS patchset: 2425
CVS date: 1998/10/08 14:59:17
1998-10-08 14:59:17 +00:00
jbj fd068345e6 add Slovak translation (Stanislav Meduna <stano@trillian.eunet.sk>)
gettextify rpmMessage/rpmError/fprintf messages.

CVS patchset: 2368
CVS date: 1998/09/27 22:03:52
1998-09-27 22:03:52 +00:00
jbj 5142bf78e6 Consolidated includes for librpmbuild API.
CVS patchset: 2213
CVS date: 1998/07/30 22:09:42
1998-07-30 22:09:42 +00:00
jbj e4151252f8 Aggregate system includes into system.h.
Rearrange functions to minimize exported routines in librpmbuild API.
VS: ----------------------------------------------------------------------

CVS patchset: 2183
CVS date: 1998/07/25 21:00:26
1998-07-25 21:00:26 +00:00
ewt d29004dc69 1) include cleanups for portability
2) pulled popt structures and variables out of functions -- they need to
   be global due to stupid compilers
3) modified the Makefile to use relative dependencies, and make dependencies
   optional

CVS patchset: 2020
CVS date: 1998/03/04 16:51:06
1998-03-04 16:51:06 +00:00
marc 6accf2f426 Clean up buildroot (remove suplicate slashes, trailing slashes)
CVS patchset: 2015
CVS date: 1998/03/03 17:07:39
1998-03-03 17:07:39 +00:00
ewt 757e50ffc8 merged in Marc's new build code
CVS patchset: 1956
CVS date: 1998/01/12 21:31:29
1998-01-12 21:31:29 +00:00