apt.git
14 years ago- add todo-commentary about multilib config hashing
Panu Matilainen [Thu, 26 Apr 2007 16:08:31 +0000 (19:08 +0300)]
- add todo-commentary about multilib config hashing

14 years ago- add config option to force not using sqlite extensions on repomd even if
Panu Matilainen [Thu, 26 Apr 2007 16:04:09 +0000 (19:04 +0300)]
- add config option to force not using sqlite extensions on repomd even if
  present

14 years ago- make multilib arch-stuff runtime configurable
Panu Matilainen [Thu, 26 Apr 2007 15:54:09 +0000 (18:54 +0300)]
- make multilib arch-stuff runtime configurable
- realize that preferred arch is not always same as basearch (eg ppc64 and
  sparc64), support it
- add etc/ directory for "factory default" configs
- add basic multilib config, installed automatically to apt.conf.d
- move example rpmpriorities to etc/

14 years ago- better FindURI interface for repositories
Panu Matilainen [Wed, 25 Apr 2007 12:31:55 +0000 (15:31 +0300)]
- better FindURI interface for repositories

14 years ago- Deal with compression on per-file, not per repository type, needed for
Panu Matilainen [Wed, 25 Apr 2007 12:05:17 +0000 (15:05 +0300)]
- Deal with compression on per-file, not per repository type, needed for
  repomd which uses bz2 for sqlite and gz for xml files. If this doesn't
  break Synaptic in some funny subtle (or not) way ... I'll be damned.
- Make automatic sqlite vs xml selection + use actually work

14 years ago- new utility function for getting file name with extension stripped
Panu Matilainen [Wed, 25 Apr 2007 06:01:03 +0000 (09:01 +0300)]
- new utility function for getting file name with extension stripped

14 years ago- nuke some unused variables
Panu Matilainen [Wed, 25 Apr 2007 05:51:43 +0000 (08:51 +0300)]
- nuke some unused variables
- check that we have a sqlite db scheme we can support

14 years ago- fix building with gcc 4.3 which requires #including *everything* that's used
Panu Matilainen [Tue, 24 Apr 2007 09:07:53 +0000 (12:07 +0300)]
- fix building with gcc 4.3 which requires #including *everything* that's used
  (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417488)

14 years ago- drop repodb source list type, use sqlite vs xml automatically as available
Panu Matilainen [Tue, 24 Apr 2007 09:02:05 +0000 (12:02 +0300)]
- drop repodb source list type, use sqlite vs xml automatically as available
- rename config option for repomd otherdata acquiring to repomd specific

14 years ago- leftover declaration..
Panu Matilainen [Tue, 24 Apr 2007 08:07:56 +0000 (11:07 +0300)]
- leftover declaration..

14 years ago- Use a global cache fox index file sizes to avoid potentially very expensive
Panu Matilainen [Tue, 24 Apr 2007 08:03:59 +0000 (11:03 +0300)]
- Use a global cache fox index file sizes to avoid potentially very expensive
  successive calls to CreateHandler() just for progress reporting where it
  doesn't even matter if the information is 100% accurate. This also allows
  getting rid of xml/sqlite specific optimizations inside rpmindexfile.cc
  and fixes old "must optimize this somehow" cases in rpm-dir type indexes.

14 years ago- instead of assertion failure, give a semi-decent error message about
Panu Matilainen [Fri, 23 Mar 2007 21:10:17 +0000 (23:10 +0200)]
- instead of assertion failure, give a semi-decent error message about
  incorrect/unusable repomd/db repositories

14 years ago- more memory-leak fixes (lua-interface, repomd)
Panu Matilainen [Sun, 18 Mar 2007 20:43:25 +0000 (22:43 +0200)]
- more memory-leak fixes (lua-interface, repomd)

14 years ago- remove extra "Done." from middle of progress output
Panu Matilainen [Sun, 11 Mar 2007 19:05:13 +0000 (21:05 +0200)]
- remove extra "Done." from middle of progress output

14 years ago- working install, remove and upgrade progress .. kinda
Panu Matilainen [Sun, 11 Mar 2007 18:35:51 +0000 (20:35 +0200)]
- working install, remove and upgrade progress .. kinda

14 years ago- progress meter cosmetics
Panu Matilainen [Sat, 10 Mar 2007 23:11:14 +0000 (01:11 +0200)]
- progress meter cosmetics

14 years ago- add xml utility functions for common operations
Panu Matilainen [Tue, 6 Mar 2007 21:39:01 +0000 (23:39 +0200)]
- add xml utility functions for common operations
- convert RPMRepomdHandler to use them instead of private FindTag etc methods

14 years ago- repomd filelists/other.xml version parsing was totally busted, fix it
Panu Matilainen [Tue, 6 Mar 2007 20:21:08 +0000 (22:21 +0200)]
- repomd filelists/other.xml version parsing was totally busted, fix it

14 years ago- Loosen the version check in cache generation filelist merging stage to
Panu Matilainen [Tue, 6 Mar 2007 20:19:47 +0000 (22:19 +0200)]
- Loosen the version check in cache generation filelist merging stage to
  only check for version-arch instead of full versionhash. Repomd filelists.xml
  doesn't carry full dependency info so versionhash from filelists would
  give bogus mismatches for everything.

14 years ago- a bit of handler class cleansing
Panu Matilainen [Tue, 6 Mar 2007 19:50:14 +0000 (21:50 +0200)]
- a bit of handler class cleansing

14 years ago- More progress meter work. Broken in various entertaining ways at the
Panu Matilainen [Mon, 5 Mar 2007 21:39:29 +0000 (23:39 +0200)]
- More progress meter work. Broken in various entertaining ways at the
  moment
- Unbreak API by allowing DoInstall() to create "compatibility" progress
  meters. Compatibility inteded mostly for Synaptic, which has dirrrrrrrrrty
  hacks that break the pkgPackageManager class protections, invalidating
  our compat hacks. Oh well...

14 years ago- plug a largish memory leak in repomd handler
Panu Matilainen [Fri, 2 Mar 2007 22:49:41 +0000 (00:49 +0200)]
- plug a largish memory leak in repomd handler

14 years ago- plug another biggish memory leak
Panu Matilainen [Thu, 1 Mar 2007 22:19:59 +0000 (00:19 +0200)]
- plug another biggish memory leak

14 years ago- kill some huge memory leaks from dependency handling
Panu Matilainen [Thu, 1 Mar 2007 20:51:20 +0000 (22:51 +0200)]
- kill some huge memory leaks from dependency handling

14 years ago- fix some more memory leaks in sqlite handler
Panu Matilainen [Thu, 1 Mar 2007 20:03:38 +0000 (22:03 +0200)]
- fix some more memory leaks in sqlite handler

14 years ago- bunch of unsigned long -> off_t fixes
Panu Matilainen [Tue, 27 Feb 2007 22:27:59 +0000 (00:27 +0200)]
- bunch of unsigned long -> off_t fixes

14 years ago- fix couple of memory leaks in sqlite handler
Panu Matilainen [Tue, 27 Feb 2007 21:27:19 +0000 (23:27 +0200)]
- fix couple of memory leaks in sqlite handler

14 years ago- add fixme-commentary about sqlite dependency
Panu Matilainen [Tue, 27 Feb 2007 19:36:12 +0000 (21:36 +0200)]
- add fixme-commentary about sqlite dependency

14 years ago- implement package(version) changelog operation in lua interface
Panu Matilainen [Mon, 26 Feb 2007 10:52:06 +0000 (12:52 +0200)]
- implement package(version) changelog operation in lua interface

14 years ago- implement package(version) filelist operation in lua interface
Panu Matilainen [Mon, 26 Feb 2007 10:51:34 +0000 (12:51 +0200)]
- implement package(version) filelist operation in lua interface

14 years ago- rpmshowprogress.h no longer exists..
Panu Matilainen [Mon, 26 Feb 2007 07:07:12 +0000 (09:07 +0200)]
- rpmshowprogress.h no longer exists..

14 years ago- remember to add rpmcallback files to git, duh
Panu Matilainen [Mon, 26 Feb 2007 06:53:20 +0000 (08:53 +0200)]
- remember to add rpmcallback files to git, duh

14 years ago- rename local variable to match usage
Panu Matilainen [Sun, 25 Feb 2007 21:10:17 +0000 (23:10 +0200)]
- rename local variable to match usage

14 years ago- warn and skip unknown dependency types instead of aborting (a cant happen
Panu Matilainen [Sun, 25 Feb 2007 21:08:24 +0000 (23:08 +0200)]
- warn and skip unknown dependency types instead of aborting (a cant happen
  case)

14 years ago- let the computer count string sizes :)
Panu Matilainen [Sun, 25 Feb 2007 21:02:14 +0000 (23:02 +0200)]
- let the computer count string sizes :)

14 years ago- implement support for filelist and changelog viewing for repomd repositories
Panu Matilainen [Sun, 25 Feb 2007 20:56:44 +0000 (22:56 +0200)]
- implement support for filelist and changelog viewing for repomd repositories
- searching for files from the full filelists.xml is impossibly slow due
  to various issues in upper levels of libapt-pkg, so we only support
  HasFile() from the "optimized" filelist stored in primary.xml

14 years ago- show package name when upgrading/removing
Panu Matilainen [Sun, 25 Feb 2007 14:50:00 +0000 (16:50 +0200)]
- show package name when upgrading/removing
- remove debug junk

14 years ago- beginnings of install progress API
Panu Matilainen [Sat, 24 Feb 2007 13:25:52 +0000 (15:25 +0200)]
- beginnings of install progress API

14 years ago- remove temporary sqlite test-stuff
Panu Matilainen [Fri, 23 Feb 2007 20:59:25 +0000 (22:59 +0200)]
- remove temporary sqlite test-stuff

14 years ago- move some common code to (beginnings of) a new matchPackages() helper
Panu Matilainen [Tue, 20 Feb 2007 19:37:16 +0000 (21:37 +0200)]
- move some common code to (beginnings of) a new matchPackages() helper
  function
- implement files, changelog and show operations using it

14 years ago- warn if changelog call fails
Panu Matilainen [Mon, 19 Feb 2007 19:10:39 +0000 (21:10 +0200)]
- warn if changelog call fails

14 years ago- can't assume otherdb being available in sqlite handler
Panu Matilainen [Mon, 19 Feb 2007 19:05:07 +0000 (21:05 +0200)]
- can't assume otherdb being available in sqlite handler
- traditional apt-rpm repostories don't carry changelog data, but
  singlefile "repos" do.. only there's no way to access them ATM

14 years ago- make RPMHandler abstract, move the rpm header-specifics to a new RPMHdrHandler
Panu Matilainen [Mon, 19 Feb 2007 18:18:37 +0000 (20:18 +0200)]
- make RPMHandler abstract, move the rpm header-specifics to a new RPMHdrHandler
  class to clean things up a bit

14 years ago- implement package filelist and changelog handling for package records
Panu Matilainen [Mon, 19 Feb 2007 17:46:29 +0000 (19:46 +0200)]
- implement package filelist and changelog handling for package records
- add commands for accessing them to apt-cache and apt-shell

14 years ago- oops, repodb was missing ID so only single repo was considered
Panu Matilainen [Fri, 16 Feb 2007 22:42:37 +0000 (00:42 +0200)]
- oops, repodb was missing ID so only single repo was considered
- misc cleanups (remove debug junk etc)

14 years ago- sqlite wrapper objects for a slightly nicer interface for our purposes,
Panu Matilainen [Fri, 16 Feb 2007 21:11:49 +0000 (23:11 +0200)]
- sqlite wrapper objects for a slightly nicer interface for our purposes,
  use it everywhere
- almost working now :)

14 years ago- working but ugly-as-sin implementation of sqlite repodata handling
Panu Matilainen [Sat, 10 Feb 2007 22:01:10 +0000 (00:01 +0200)]
- working but ugly-as-sin implementation of sqlite repodata handling

14 years agoRevert "- implement filelists (and stub for other.xml type) as their own index types"
Panu Matilainen [Sat, 10 Feb 2007 11:18:07 +0000 (13:18 +0200)]
Revert "- implement filelists (and stub for other.xml type) as their own index types"

This reverts commit 14ec04afb9da750a3e833cd2d63d94407764ea65.

14 years ago- implement filelists (and stub for other.xml type) as their own index types
Panu Matilainen [Fri, 17 Nov 2006 22:14:12 +0000 (00:14 +0200)]
- implement filelists (and stub for other.xml type) as their own index types

14 years ago- remove debug junk
Panu Matilainen [Wed, 15 Nov 2006 23:03:45 +0000 (01:03 +0200)]
- remove debug junk

14 years ago- read file locations from repomd.xml instead of hardcoding them
Panu Matilainen [Tue, 14 Nov 2006 20:05:16 +0000 (22:05 +0200)]
- read file locations from repomd.xml instead of hardcoding them
- basic support for retrieving other.xml and updatesinfo.xml files

14 years ago- rename all WITH_ defines to APT_WITH_, export a secondary config header
pmatilai [Tue, 3 Oct 2006 18:33:42 +0000 (18:33 +0000)]
- rename all WITH_ defines to APT_WITH_, export a secondary config header
  for them to stop polluting the headers with defines reserved to
  autoconf/autoheader (Ralf Corsepius)

15 years ago- combine depends and provides handling into one PRCO() method in rpmhandler,
pmatilai [Thu, 7 Sep 2006 17:57:51 +0000 (17:57 +0000)]
- combine depends and provides handling into one PRCO() method in rpmhandler,
  more in line with how rpm handles them anyway
- fix callers to use the new method, remove old ones

15 years ago- new protected handler method PutDep() to push creation of dependency items
pmatilai [Thu, 7 Sep 2006 17:08:56 +0000 (17:08 +0000)]
- new protected handler method PutDep() to push creation of dependency items
  into one place
- use "modern" rpmds interface for reading dependency info from headers
  where available, clean up the old method as well

15 years ago- remember to commit lorg3.90 stuff... apt-0.5.15lorg3.90
pmatilai [Thu, 7 Sep 2006 07:09:20 +0000 (07:09 +0000)]
- remember to commit lorg3.90 stuff...

15 years ago- whoops, removed Top declaration...
pmatilai [Wed, 6 Sep 2006 20:02:41 +0000 (20:02 +0000)]
- whoops, removed Top declaration...

15 years ago- remove ancient compatibility option handling
pmatilai [Wed, 6 Sep 2006 19:58:29 +0000 (19:58 +0000)]
- remove ancient compatibility option handling
- dont set acquire::distroid to Conectiva
- change default cdrom mountpoint from /mnt/cdrom to more modern /media/cdrom

15 years ago- new handler method DepOp() for handling RPMSENSE_* to pkgCache::Dep::*
pmatilai [Wed, 6 Sep 2006 19:46:38 +0000 (19:46 +0000)]
- new handler method DepOp() for handling RPMSENSE_* to pkgCache::Dep::*
  conversions in one place
- make InternalDep() protected, nothing outside the handler needs it

15 years ago- rename handler method FileProvides() -> FileList()
pmatilai [Wed, 6 Sep 2006 17:48:48 +0000 (17:48 +0000)]
- rename handler method FileProvides() -> FileList()
- common HasFile() method for all handler types
- use "modern" rpmfi iterator interface for accessing file information where
  available (available since sometime in 2001...)

15 years ago- calculate the total amount of rpm operations including repackages and all
pmatilai [Thu, 24 Aug 2006 18:10:25 +0000 (18:10 +0000)]
- calculate the total amount of rpm operations including repackages and all
  by using the dep cache info, duh

15 years ago- Revert change from r249, pure install instead of upgrade breaks obsolete
pmatilai [Thu, 24 Aug 2006 17:16:56 +0000 (17:16 +0000)]
- Revert change from r249, pure install instead of upgrade breaks obsolete
  processing of rpm. Back to broken progress meters, sigh.

15 years ago- move common code in apt-cache/shell to cmdline
pmatilai [Mon, 21 Aug 2006 22:04:44 +0000 (22:04 +0000)]
- move common code in apt-cache/shell to cmdline
- make searchfile and whatprovides available in apt-shell
- fix some usage texts
- we want DoList() from apt-shell in apt-cache eventually so move it to cmdline
  as well, not used yet
- update translations

15 years ago- we dont have dselect so we dont need dselect-upgrade either
pmatilai [Mon, 21 Aug 2006 20:28:25 +0000 (20:28 +0000)]
- we dont have dselect so we dont need dselect-upgrade either

15 years ago- move yet more easyish cases of common apt-get/shell code to cmdline
pmatilai [Mon, 21 Aug 2006 20:23:15 +0000 (20:23 +0000)]
- move yet more easyish cases of common apt-get/shell code to cmdline

15 years ago- move more common code from apt-get & apt-shell to cmdline
pmatilai [Mon, 21 Aug 2006 19:24:04 +0000 (19:24 +0000)]
- move more common code from apt-get & apt-shell to cmdline

15 years ago- kill of gcc warning about using NULL in arithmetic
pmatilai [Mon, 7 Aug 2006 15:29:21 +0000 (15:29 +0000)]
- kill of gcc warning about using NULL in arithmetic

15 years ago- duh, screwed up the quiet-logic in previous commit
pmatilai [Sun, 6 Aug 2006 05:55:33 +0000 (05:55 +0000)]
- duh, screwed up the quiet-logic in previous commit

15 years ago- unbreak rpm::interactive=false when stdout is a not a tty
pmatilai [Sun, 6 Aug 2006 05:42:45 +0000 (05:42 +0000)]
- unbreak rpm::interactive=false when stdout is a not a tty

15 years ago- add build option for disabling repomd support to enable building
pmatilai [Thu, 3 Aug 2006 19:16:58 +0000 (19:16 +0000)]
- add build option for disabling repomd support to enable building
  without libxml2 >= 2.6.0

15 years ago- duh.. debug cruft
pmatilai [Thu, 3 Aug 2006 16:01:20 +0000 (16:01 +0000)]
- duh.. debug cruft

15 years ago- add build option for disabling SELinux support (on rpm >= 4.3)
pmatilai [Thu, 3 Aug 2006 16:00:13 +0000 (16:00 +0000)]
- add build option for disabling SELinux support (on rpm >= 4.3)

15 years ago- use a separate handler for repomd filelists to remove gobs of
pmatilai [Mon, 31 Jul 2006 20:54:57 +0000 (20:54 +0000)]
- use a separate handler for repomd filelists to remove gobs of
  unnecessary processing, cuts down cache generation time by circa 20%

15 years ago- count installs vs upgrades + repackages correctly for progress bar usage
pmatilai [Mon, 31 Jul 2006 17:12:48 +0000 (17:12 +0000)]
- count installs vs upgrades + repackages correctly for progress bar usage
- fix progress repackage progress bars

15 years ago- fix package removal on old rpm versions which don't support name.arch
pmatilai [Fri, 14 Jul 2006 05:45:06 +0000 (05:45 +0000)]
- fix package removal on old rpm versions which don't support name.arch
  for RPMDBI_LABEL, simplify the code while at it

15 years ago- more off_t typing fixes (Ralf)
pmatilai [Fri, 14 Jul 2006 04:54:58 +0000 (04:54 +0000)]
- more off_t typing fixes (Ralf)
- bump cache version as this affects cache structures

15 years ago- fix breakage from earlier off_t patch
pmatilai [Fri, 14 Jul 2006 04:49:17 +0000 (04:49 +0000)]
- fix breakage from earlier off_t patch

15 years ago- fix typo in error message (Ralf)
pmatilai [Tue, 11 Jul 2006 06:31:41 +0000 (06:31 +0000)]
- fix typo in error message (Ralf)

15 years ago- size_t typing fix (Ralf)
pmatilai [Tue, 11 Jul 2006 06:31:13 +0000 (06:31 +0000)]
- size_t typing fix (Ralf)

15 years ago- add missing include (Ralf)
pmatilai [Tue, 11 Jul 2006 06:30:20 +0000 (06:30 +0000)]
- add missing include (Ralf)

15 years ago- enable building test/ programs under automake control (Ralf)
pmatilai [Sat, 1 Jul 2006 07:43:06 +0000 (07:43 +0000)]
- enable building test/ programs under automake control (Ralf)
- remove irrelevant .deb specific test programs
- fix versiontest, conf and scratch tests to be buildable/functional in apt-rpm

15 years ago- i18n fixes from Ralf:
pmatilai [Fri, 30 Jun 2006 08:47:23 +0000 (08:47 +0000)]
- i18n fixes from Ralf:
  * Eliminate silly Dir::Locale config variable
  * Call bindtextdomain in libapt's initialization

15 years ago- minor auto*tools cleanups (Ralf)
pmatilai [Fri, 30 Jun 2006 08:46:00 +0000 (08:46 +0000)]
- minor auto*tools cleanups (Ralf)

15 years ago- re-enable hashmap usage (Ralf)
pmatilai [Thu, 29 Jun 2006 16:10:00 +0000 (16:10 +0000)]
- re-enable hashmap usage (Ralf)

15 years ago- configure cleanups from Ralf:
pmatilai [Wed, 28 Jun 2006 15:40:52 +0000 (15:40 +0000)]
- configure cleanups from Ralf:
  * replacing AC_HELP_STRING with AS_HELP_STRING (AC_HELP_STRING is
    deprecated in autoconf > 2.13 in favor of AS_HELP_STRING)
  * cosmetics, bringing ./configure --help into a more consistent/homogenious
    look.

15 years ago- fix a minor bug in configure.ac (Ralf)
pmatilai [Tue, 27 Jun 2006 16:00:59 +0000 (16:00 +0000)]
- fix a minor bug in configure.ac (Ralf)

15 years ago- bumping trunk version to lorg4 (at least for now..)
pmatilai [Thu, 22 Jun 2006 07:24:25 +0000 (07:24 +0000)]
- bumping trunk version to lorg4 (at least for now..)

15 years ago- somehow configure.ac ended up containing the contents twice .. cleanup (Ralf)
pmatilai [Wed, 21 Jun 2006 16:17:17 +0000 (16:17 +0000)]
- somehow configure.ac ended up containing the contents twice .. cleanup (Ralf)

15 years ago- remove bunch of unused / debian-specific source-related stuff
pmatilai [Wed, 21 Jun 2006 15:23:53 +0000 (15:23 +0000)]
- remove bunch of unused / debian-specific source-related stuff

15 years ago- rename deprecated configure.in to configure.ac (Ralf)
pmatilai [Wed, 21 Jun 2006 14:51:51 +0000 (14:51 +0000)]
- rename deprecated configure.in to configure.ac (Ralf)

15 years ago- more size_t / off_t fixes (Ralf)
pmatilai [Tue, 20 Jun 2006 15:46:49 +0000 (15:46 +0000)]
- more size_t / off_t fixes (Ralf)

15 years ago- more size_t fixes (Ralf)
pmatilai [Sat, 17 Jun 2006 14:48:41 +0000 (14:48 +0000)]
- more size_t fixes (Ralf)

15 years ago- use vectors instead of non-portable variable arrays in apt-shell (Ralf)
pmatilai [Thu, 15 Jun 2006 17:17:27 +0000 (17:17 +0000)]
- use vectors instead of non-portable variable arrays in apt-shell (Ralf)

15 years ago- big manpage overhaul (Vincent Danen)
pmatilai [Thu, 15 Jun 2006 16:43:09 +0000 (16:43 +0000)]
- big manpage overhaul (Vincent Danen)

15 years ago- create the directory structure apt needs to function on make install (Ralf)
pmatilai [Wed, 14 Jun 2006 15:33:41 +0000 (15:33 +0000)]
- create the directory structure apt needs to function on make install (Ralf)

15 years ago- nuke old, unused code from genpkglist (Ralf)
pmatilai [Tue, 13 Jun 2006 18:23:10 +0000 (18:23 +0000)]
- nuke old, unused code from genpkglist (Ralf)

15 years ago- more "cosmetics" fixes to fix gcc warnings (Ralf)
pmatilai [Tue, 13 Jun 2006 18:16:06 +0000 (18:16 +0000)]
- more "cosmetics" fixes to fix gcc warnings (Ralf)

15 years ago- size_t related bug fixes, addressing to "unsigned vs. signed types" issues
pmatilai [Mon, 12 Jun 2006 15:16:34 +0000 (15:16 +0000)]
- size_t related bug fixes, addressing to "unsigned vs. signed types" issues
  (Ralf)

15 years ago- remove all references to the sgmltools (previously used to build man pages)
pmatilai [Mon, 12 Jun 2006 14:30:33 +0000 (14:30 +0000)]
- remove all references to the sgmltools (previously used to build man pages)
  from build (Ralf)

15 years ago- various "cosmetics" cleanups to shut up gcc complaints on higher warning
pmatilai [Mon, 12 Jun 2006 14:24:39 +0000 (14:24 +0000)]
- various "cosmetics" cleanups to shut up gcc complaints on higher warning
  levels (Ralf)

15 years ago- use correct size type, add missing ftruncate() return value check (Ralf)
pmatilai [Sun, 11 Jun 2006 04:35:06 +0000 (04:35 +0000)]
- use correct size type, add missing ftruncate() return value check (Ralf)