]> git.sur5r.net Git - bacula/rescue/log
bacula/rescue
17 years agokes Add ENABLE_NLS (as suggested by Eric) to correct NLS problems.
Kern Sibbald [Sun, 17 Dec 2006 13:36:35 +0000 (13:36 +0000)]
kes  Add ENABLE_NLS (as suggested by Eric) to correct NLS problems.
     Remove NLS kludge from baconfig.h.  This fixes bug #729.
kes  Allow seeking on DVD.

17 years agoAllow seeking on DVD
Kern Sibbald [Sun, 17 Dec 2006 13:27:27 +0000 (13:27 +0000)]
Allow seeking on DVD

17 years agoUpdate technotes
Kern Sibbald [Sun, 17 Dec 2006 12:43:18 +0000 (12:43 +0000)]
Update technotes

17 years agokes Add additional messages when Job canceled automatically for
Kern Sibbald [Sun, 17 Dec 2006 12:42:56 +0000 (12:42 +0000)]
kes  Add additional messages when Job canceled automatically for
     max run time or max start wait exceeded.  This fixes bug #621.
kes  Update maxruntime-test in regression script to properly test
     max run time -- from info given in bug #621.
kes  Simplify automatic cancel code.
kes  Add check for job_canceled() in FD when contacting SD so that if
     job is canceled from max runtime, it terminates faster.

17 years agoebl add blank location field in update_media
Eric Bollengier [Sun, 17 Dec 2006 11:24:19 +0000 (11:24 +0000)]
ebl  add blank location field in update_media

17 years agoSave and restore volume name in stored/mount.c fixed bug #712
Kern Sibbald [Sun, 17 Dec 2006 09:00:50 +0000 (09:00 +0000)]
Save and restore volume name in stored/mount.c fixed bug #712
     where wrong tape was requested in a mount.

17 years agokes Implement cleaner orphan buffer dumping with buf address.
Kern Sibbald [Sat, 16 Dec 2006 15:30:22 +0000 (15:30 +0000)]
kes  Implement cleaner orphan buffer dumping with buf address.
kes  Fix orphaned buffer when canceling job waiting on op intervention.

17 years agokes Update projects file for next vote.
Kern Sibbald [Sat, 16 Dec 2006 11:10:17 +0000 (11:10 +0000)]
kes  Update projects file for next vote.
kes  Implement a fix (more could be done) for bug #728 where a double
     EOF is writing on the Volume when spooling is enabled and the
     connection with the FD fails (FD crash, comm error).
kes  Disable attempting to autolabel when polling and device is not
     a tape. This fixes bug #730 where polling with a removable disk
     not mounted caused lots of new Volumes to be created then marked
     in error.

17 years agoUpdates
Kern Sibbald [Fri, 15 Dec 2006 20:11:16 +0000 (20:11 +0000)]
Updates

17 years agoebl html fix
Eric Bollengier [Thu, 14 Dec 2006 16:10:01 +0000 (16:10 +0000)]
ebl  html fix

17 years agokes Complete hopefully the last of the copyright transfer changes.
Kern Sibbald [Thu, 14 Dec 2006 11:41:02 +0000 (11:41 +0000)]
kes  Complete hopefully the last of the copyright transfer changes.
kes  Separate NumVolumes in SD to NumReadVolumes and NumWrite volumes so
     that migration writing to multiple volumes doesn't mess up reading
     Volumes. This should fix bug #720 -- multivol migration fails.
kes  Make migration SQL look only for Type='B' jobs to migrate.  This should
     fix bug #724 jobs getting migrated twice.
kes  Convert remaining dev_cap(dev, ...) to use dev->has_cap().
kes  Implement dev->clear_cap() and dev->set_cap() methods.
kes  Turn off disk seeking on restore for DVDs since I am not 100%
     sure it works.

17 years agoebl Fix auto pool selection
Eric Bollengier [Thu, 14 Dec 2006 10:21:13 +0000 (10:21 +0000)]
ebl  Fix auto pool selection

17 years agoebl update
Eric Bollengier [Thu, 14 Dec 2006 10:16:49 +0000 (10:16 +0000)]
ebl  update

17 years agoebl Add pool filter to job form
Eric Bollengier [Thu, 14 Dec 2006 10:16:14 +0000 (10:16 +0000)]
ebl  Add pool filter to job form

17 years agokes Implement code that should properly set that a job was migrated,
Kern Sibbald [Wed, 13 Dec 2006 19:42:12 +0000 (19:42 +0000)]
kes  Implement code that should properly set that a job was migrated,
     if the migration was successful even if there were no file to
     migrate.
kes  Apply Richard's patch to fix building or filed/restore.c without
     OpenSSL support.
kes  Ensure that at least one block is written by the SD even if the
     FD dies or fails -- should fix bug #728.
kes  Convert stored/record.c ASSERT into a soft fail if the length of
     a record is too insanely long. This should fix bug #???

17 years agoebl Now you can use RunScript to generate client-list-file FileSet (ie \</home/xx...
Eric Bollengier [Wed, 13 Dec 2006 10:57:52 +0000 (10:57 +0000)]
ebl  Now you can use RunScript to generate client-list-file FileSet (ie \</home/xx/files)

17 years agoebl revert "Add update volume=xxx status=Purged"
Eric Bollengier [Wed, 13 Dec 2006 10:35:04 +0000 (10:35 +0000)]
ebl  revert "Add update volume=xxx status=Purged"
     setting a volume to purged should only be done by the purge command.

17 years agoebl Add Purged status to update_media
Eric Bollengier [Tue, 12 Dec 2006 21:52:59 +0000 (21:52 +0000)]
ebl  Add Purged status to update_media

17 years agoebl Add update volume=xxx status=Purged
Eric Bollengier [Tue, 12 Dec 2006 21:51:31 +0000 (21:51 +0000)]
ebl  Add update volume=xxx status=Purged

17 years agoebl Add start date field and more options button to run_job
Eric Bollengier [Tue, 12 Dec 2006 21:34:01 +0000 (21:34 +0000)]
ebl  Add start date field and more options button to run_job

17 years agoFix automatic labeling of File volumes, which was broken by new
Kern Sibbald [Tue, 12 Dec 2006 18:13:59 +0000 (18:13 +0000)]
Fix automatic labeling of File volumes, which was broken by new
     removable device code.

17 years agoFix bad variable initialization
Kern Sibbald [Mon, 11 Dec 2006 17:18:03 +0000 (17:18 +0000)]
Fix bad variable initialization

17 years agoebl fix
Eric Bollengier [Mon, 11 Dec 2006 14:59:50 +0000 (14:59 +0000)]
ebl  fix

17 years agoebl update
Eric Bollengier [Mon, 11 Dec 2006 13:47:21 +0000 (13:47 +0000)]
ebl  update

17 years agoebl hide password in config tpl
Eric Bollengier [Sun, 10 Dec 2006 14:01:44 +0000 (14:01 +0000)]
ebl  hide password in config tpl

17 years agoRemove typedef uLong for HP in baconfig.h. It broke things.
Kern Sibbald [Sun, 10 Dec 2006 09:32:50 +0000 (09:32 +0000)]
Remove typedef uLong for HP in baconfig.h.  It broke things.

17 years agoFix job byte reporting -- the digest code runs in verify.c and increases this value.
Landon Fuller [Sun, 10 Dec 2006 01:37:49 +0000 (01:37 +0000)]
Fix job byte reporting -- the digest code runs in verify.c and increases this value.
The better solution is to digest the stream as we receive it, thus removing the need to re-read from disk at all, but that requires more extensive and potentially destabilizing changes.

17 years agoThis commit fixes backup and restore of HFS+ resource forks.
Landon Fuller [Sat, 9 Dec 2006 23:50:00 +0000 (23:50 +0000)]
This commit fixes backup and restore of HFS+ resource forks.
Unrelated to the above, I added a long-missing 'break' statement in HFS+ attribute handling that resulted in restore failures.

17 years agoupdate
Eric Bollengier [Sat, 9 Dec 2006 20:35:03 +0000 (20:35 +0000)]
update

17 years agoFix missing end enumerate
Kern Sibbald [Sat, 9 Dec 2006 18:14:41 +0000 (18:14 +0000)]
Fix missing end enumerate

17 years agofix underscores
Kern Sibbald [Sat, 9 Dec 2006 18:05:15 +0000 (18:05 +0000)]
fix underscores

17 years agofix underscores
Kern Sibbald [Sat, 9 Dec 2006 18:05:14 +0000 (18:05 +0000)]
fix underscores

17 years agoUpdate patch to match kes change in environment variable.
Scott Barninger [Sat, 9 Dec 2006 15:33:00 +0000 (15:33 +0000)]
Update patch to match kes change in environment variable.

17 years agoebl update copyright
Eric Bollengier [Sat, 9 Dec 2006 14:30:15 +0000 (14:30 +0000)]
ebl  update copyright

17 years agoebl update copyright
Eric Bollengier [Sat, 9 Dec 2006 14:25:02 +0000 (14:25 +0000)]
ebl  update copyright

17 years agoebl Fix runscript to always execute command after all job type.
Eric Bollengier [Sat, 9 Dec 2006 13:59:40 +0000 (13:59 +0000)]
ebl  Fix runscript to always execute command after all job type.

17 years agoebl Fix runscript to always execute command after all job type.
Eric Bollengier [Sat, 9 Dec 2006 13:54:30 +0000 (13:54 +0000)]
ebl  Fix runscript to always execute command after all job type.

17 years agoFinal changes
Kern Sibbald [Fri, 8 Dec 2006 14:32:11 +0000 (14:32 +0000)]
Final changes

17 years agokes Mark build-depkgs-mingw3 executable in configure process.
Kern Sibbald [Fri, 8 Dec 2006 14:27:10 +0000 (14:27 +0000)]
kes  Mark build-depkgs-mingw3 executable in configure process.
kes  Update autoconf/config.h.in to include LOCALEDIR
kes  Undefine NLS settings for wxWidgets as there is a conflict with
     their way of doing things.
kes  Implement a rpool and rpool_source in jcr.h for Migration jobs.
kes  Change a bunch of ->hdr.name to ->name()
kes  Straighten out handling of read and write pools for Migration, including
     getting the code in the proper order.
kes  Improve migration error messages and debug output.
kes  Shorten code path in migration if nothing found to do.
kes  Implement read/write pool in migration job report.
kes  Move ua_run.c select_job_level code into a subroutine (readability).
kes  Move ua_run.c display_job_parameters into a subroutine.
kes  Do not bash dcr->VolumeName in get_volume_info() because it makes
     restore dependent on a valid catalog containing the Volume name.

17 years agoUpdate migration tests
Kern Sibbald [Fri, 8 Dec 2006 13:12:27 +0000 (13:12 +0000)]
Update migration tests

17 years agoRename cats_pgsql to cats_postgresql and cats_sqlite to cats_sqlite3. This makes...
Robert Nelson [Fri, 8 Dec 2006 06:49:38 +0000 (06:49 +0000)]
Rename cats_pgsql to cats_postgresql and cats_sqlite to cats_sqlite3.  This makes manual installation in the regression scripts easier.

17 years agoUpdate wxWidgets library.
Robert Nelson [Fri, 8 Dec 2006 00:46:28 +0000 (00:46 +0000)]
Update wxWidgets library.

17 years agoFix typo.
Robert Nelson [Fri, 8 Dec 2006 00:21:31 +0000 (00:21 +0000)]
Fix typo.

17 years agoUse SQLite 3.3.8 in both build environments.
Robert Nelson [Fri, 8 Dec 2006 00:15:41 +0000 (00:15 +0000)]
Use SQLite 3.3.8 in both build environments.

Update to MySQL 5.0.27 since 5.0.22 is no longer available.

Update wxWidgets to 2.7.0 in MinGW environment to match msvc build.

Add new cmd script tools dependency.

Add DVD burning tools.

Add missing make_sqlite3_tables.sql to installer.

17 years agoFinal changes
Kern Sibbald [Thu, 7 Dec 2006 08:08:10 +0000 (08:08 +0000)]
Final changes

17 years agoReally cleanup gigaslam
Kern Sibbald [Wed, 6 Dec 2006 22:00:10 +0000 (22:00 +0000)]
Really cleanup gigaslam

17 years agoclean gigaslam
Kern Sibbald [Wed, 6 Dec 2006 21:54:36 +0000 (21:54 +0000)]
clean gigaslam

17 years agoFix fr.po
Kern Sibbald [Wed, 6 Dec 2006 21:19:22 +0000 (21:19 +0000)]
Fix fr.po

17 years agoebl 974 messages traduits, 217 traductions approximatives, 1901 messages non-traduits.
Eric Bollengier [Wed, 6 Dec 2006 21:12:03 +0000 (21:12 +0000)]
ebl  974 messages traduits, 217 traductions approximatives, 1901 messages non-traduits.

17 years agoFinal changes
Kern Sibbald [Wed, 6 Dec 2006 19:25:46 +0000 (19:25 +0000)]
Final changes

17 years agokes Put make_catalog_backup SQL_BINDIR in an environment variable to
Kern Sibbald [Wed, 6 Dec 2006 18:30:08 +0000 (18:30 +0000)]
kes  Put make_catalog_backup SQL_BINDIR in an environment variable to
     make it easier for the user to change.
kes  Fail any backup job that tries to use encryption and sparse options.
     Hopefully this is a temporary change.
kes  Correct the EndJob return string for non-backup jobs.
kes  Review the encryption restore code.
kes  Implement a new encryption regression test with compression.

17 years agoUpdate
Kern Sibbald [Wed, 6 Dec 2006 18:22:53 +0000 (18:22 +0000)]
Update

17 years agoFinal changes
Kern Sibbald [Wed, 6 Dec 2006 09:26:23 +0000 (09:26 +0000)]
Final changes

17 years agoFinal changes
Kern Sibbald [Wed, 6 Dec 2006 09:02:29 +0000 (09:02 +0000)]
Final changes

17 years agokes Modify migrate not to fail if nothing found to migrate.
Kern Sibbald [Wed, 6 Dec 2006 08:39:18 +0000 (08:39 +0000)]
kes  Modify migrate not to fail if nothing found to migrate.
kes  Add #undef HAVE_OPENSSL, HAVE_TLS, HAVE_CYRPTO to autoconf/config.h.in
     because they were not always set correctly.

17 years agoebl update
Eric Bollengier [Tue, 5 Dec 2006 18:03:23 +0000 (18:03 +0000)]
ebl  update

17 years agoebl add media filter to display_media
Eric Bollengier [Tue, 5 Dec 2006 18:02:31 +0000 (18:02 +0000)]
ebl  add media filter to display_media

17 years agoUpdate configure.in to include python 2.5 search.
Kern Sibbald [Tue, 5 Dec 2006 10:47:18 +0000 (10:47 +0000)]
Update configure.in to include python 2.5 search.

17 years agoBack out unwanted migration change reported by Richard Mortimer.
Kern Sibbald [Tue, 5 Dec 2006 08:19:50 +0000 (08:19 +0000)]
Back out unwanted migration change reported by Richard Mortimer.

17 years agoUpdate
Kern Sibbald [Tue, 5 Dec 2006 08:17:52 +0000 (08:17 +0000)]
Update

17 years agoebl fix params of display_media
Eric Bollengier [Mon, 4 Dec 2006 18:53:54 +0000 (18:53 +0000)]
ebl  fix params of display_media

17 years agoebl update
Eric Bollengier [Mon, 4 Dec 2006 18:43:29 +0000 (18:43 +0000)]
ebl  update

17 years agoebl add mediatype filter to pool view
Eric Bollengier [Mon, 4 Dec 2006 18:42:32 +0000 (18:42 +0000)]
ebl  add mediatype filter to pool view

17 years agoUpdate ChangeLog + ReleaseNotes
Kern Sibbald [Mon, 4 Dec 2006 18:17:48 +0000 (18:17 +0000)]
Update ChangeLog + ReleaseNotes

17 years agoUpdate ChangeLog + ReleaseNotes
Kern Sibbald [Mon, 4 Dec 2006 18:14:28 +0000 (18:14 +0000)]
Update ChangeLog + ReleaseNotes

17 years agokes Make migration with nothing to do set normal termination.
Kern Sibbald [Mon, 4 Dec 2006 17:25:18 +0000 (17:25 +0000)]
kes  Make migration with nothing to do set normal termination.
kes  Change message when job manually started to say Job queued. ...

17 years agoUpdate debug output
Kern Sibbald [Mon, 4 Dec 2006 13:01:46 +0000 (13:01 +0000)]
Update debug output

17 years agokes Add job report indication of whether or not VSS and Encryption were
Kern Sibbald [Mon, 4 Dec 2006 13:00:01 +0000 (13:00 +0000)]
kes  Add job report indication of whether or not VSS and Encryption were
     used by the FD.
kes  Modify sparseBlock variable name to make the code clearer.
kes  Add more sparse tests to regress using gigaslam sparse file
     generator.

17 years agoFix FileSet options + add gigaslam tests
Kern Sibbald [Mon, 4 Dec 2006 12:56:19 +0000 (12:56 +0000)]
Fix FileSet options + add gigaslam tests

17 years agokes Enable data encryption code.
Kern Sibbald [Mon, 4 Dec 2006 09:39:26 +0000 (09:39 +0000)]
kes  Enable data encryption code.
kes  Add gigaslam.c to src/tools. It creates a 1GB file that contains
     only two blocks -- i.e. it is a real sparse file.

17 years agoAdd real sparse tests
Kern Sibbald [Mon, 4 Dec 2006 09:35:45 +0000 (09:35 +0000)]
Add real sparse tests

17 years agoUse the full file list now that the regression test passes
Landon Fuller [Mon, 4 Dec 2006 04:19:58 +0000 (04:19 +0000)]
Use the full file list now that the regression test passes

17 years agoRe-implemented the block-preserving encryption restore. In the process, fixed all...
Landon Fuller [Mon, 4 Dec 2006 04:14:34 +0000 (04:14 +0000)]
Re-implemented the block-preserving encryption restore. In the process, fixed all known bugs in handling non-sparse file restoration. Changes include:
   - Removed the "chunk_size" implementation
   - Renamed crypto_count to crypto_buf_len, and crypto_size to crypto_packet_len.
   - Removed unnecessary looping in extract_data()
   - Broke out sparse block handling into its own function
   - Laid some groundwork for adding sparse + encryption support

Testing:
   - Encryption regression tests now pass.
   - Tested sparse file handling changes without encryption enabled.

Known encryption-related bugs remaining:
   - Restoring resource forks is broken; need to set up a seperate decryption context.
   - The latest changes to digest handling with sparse files breaks file signatures.
   - Sparse files are not currently supported when encrypting.

17 years agoMuch smaller, and thus much faster, crypto keys for the regression tests.
Landon Fuller [Mon, 4 Dec 2006 03:21:27 +0000 (03:21 +0000)]
Much smaller, and thus much faster, crypto keys for the regression tests.

17 years agokes Enable disk seeking on restore.
Kern Sibbald [Sun, 3 Dec 2006 20:01:09 +0000 (20:01 +0000)]
kes  Enable disk seeking on restore.
kes  Implement the SD 'Block Positioning = yes|no' directive. This
     allows the user to turn off block level seeking, but restores
     will be much slower.
kes  Change the word illegal to read invalid in a few places.

17 years agokes Fix Win32 build, which broke when I added parse_args_only in
Kern Sibbald [Sun, 3 Dec 2006 16:55:06 +0000 (16:55 +0000)]
kes  Fix Win32 build, which broke when I added parse_args_only in
     lib. I'm not sure I got the entry point right for msvc.

17 years agokes Turn off data encryption. It can be enabled by defining
Kern Sibbald [Sun, 3 Dec 2006 15:48:18 +0000 (15:48 +0000)]
kes  Turn off data encryption. It can be enabled by defining
     DATA_ENCRYPTION in src/version.h and recompiling.
kes  Implement flag to turn off data encryption feature.

17 years agosplit long lines
Kern Sibbald [Sun, 3 Dec 2006 09:18:11 +0000 (09:18 +0000)]
split long lines

17 years agokes Move unserial code in restore.c to a subroutine. Add a bit of debug
Kern Sibbald [Sun, 3 Dec 2006 09:00:00 +0000 (09:00 +0000)]
kes  Move unserial code in restore.c to a subroutine. Add a bit of debug
     code.
kes  Rework a bit of code in backup.c to handle sparse blocks correctly.
     The main problem was that signatures were being generated on blocks
     of zeros, which is unnecessary.
02Dec06
kes  Fix scanner (next_arg) to handle leading double quote correctly.
kes  Modify cd command in restore tree to look at full argument without
     keywords.  This fixes bug #716.
01Dec06
kes  Do not update Migrated Job type if migration does not terminate
     normally. This fixes bug #719.

17 years agoMerge unix regress changes into Windows port.
Robert Nelson [Sat, 2 Dec 2006 14:18:54 +0000 (14:18 +0000)]
Merge unix regress changes into Windows port.

Port migration tests.

17 years agoUpdate SQLite version for MinGW build to match latest used in MSVC build.
Robert Nelson [Sat, 2 Dec 2006 14:13:02 +0000 (14:13 +0000)]
Update SQLite version for MinGW build to match latest used in MSVC build.

17 years agoUpdate
Kern Sibbald [Fri, 1 Dec 2006 20:34:52 +0000 (20:34 +0000)]
Update

17 years agoDo not update Migrated Job type if migration does not terminate
Kern Sibbald [Fri, 1 Dec 2006 20:31:59 +0000 (20:31 +0000)]
Do not update Migrated Job type if migration does not terminate
     normally. This fixes bug #719.

17 years agokes Update ReleaseNotes
Kern Sibbald [Fri, 1 Dec 2006 20:20:58 +0000 (20:20 +0000)]
kes  Update ReleaseNotes
kes  Purge Job records from the catalog for Migration. This was
     not properly done previously. This fixes bug #718.

17 years agoUpdate
Kern Sibbald [Fri, 1 Dec 2006 16:50:48 +0000 (16:50 +0000)]
Update

17 years agoAdd data encryption test
Kern Sibbald [Fri, 1 Dec 2006 16:14:53 +0000 (16:14 +0000)]
Add data encryption test

17 years agoUpdate
Kern Sibbald [Fri, 1 Dec 2006 14:41:47 +0000 (14:41 +0000)]
Update

17 years agoebl fix
Eric Bollengier [Fri, 1 Dec 2006 14:12:54 +0000 (14:12 +0000)]
ebl  fix

17 years agoebl fix bad SQL timestamp in M_CATALOG
Eric Bollengier [Fri, 1 Dec 2006 13:14:49 +0000 (13:14 +0000)]
ebl  fix bad SQL timestamp in M_CATALOG

17 years agoAdd MinGW changes missed from the previous commit.
Robert Nelson [Fri, 1 Dec 2006 12:32:58 +0000 (12:32 +0000)]
Add MinGW changes missed from the previous commit.

17 years agoAdd Windows port of the regression tests.
Robert Nelson [Fri, 1 Dec 2006 11:54:09 +0000 (11:54 +0000)]
Add Windows port of the regression tests.

17 years agoAdd new files associated with previous commit.
Robert Nelson [Fri, 1 Dec 2006 11:33:49 +0000 (11:33 +0000)]
Add new files associated with previous commit.

17 years agoebl add start /B for win32
Eric Bollengier [Fri, 1 Dec 2006 09:11:40 +0000 (09:11 +0000)]
ebl  add start /B for win32

17 years agoebl fix missing where argument
Eric Bollengier [Fri, 1 Dec 2006 09:09:27 +0000 (09:09 +0000)]
ebl  fix missing where argument

17 years agoFix path issues.
Robert Nelson [Fri, 1 Dec 2006 08:45:40 +0000 (08:45 +0000)]
Fix path issues.

Fix SQLite3 build error.

Don't enable unnecessary privileges, its a security problem.

Fix bextract and bscan on Windows.

Fix comment typos.

Fix copyright changes in the tray-monitor so it builds.

Add SQLite3 support to the Windows build.

Remove bdb support from Windows version.

Reworked the installer to facilitate the regression tests.

Improved the database support in the installer.

Automatically detect installed database and program paths.

Start external programs minimized so they don't bother the user.

17 years agoUpdate
Kern Sibbald [Fri, 1 Dec 2006 07:52:57 +0000 (07:52 +0000)]
Update

17 years agokes Initialize msg_type to M_INFO in migration. Pointed out by
Kern Sibbald [Fri, 1 Dec 2006 07:51:55 +0000 (07:51 +0000)]
kes  Initialize msg_type to M_INFO in migration. Pointed out by
     Robert Nelson.
kes  Add some fflush() statements for debug output. This should not
     really be necessary and defeats buffering but users continue
     to complain.

17 years agoFix a logic error that resulted in blank md5 sums and encryption signatures to be...
Landon Fuller [Tue, 28 Nov 2006 07:07:42 +0000 (07:07 +0000)]
Fix a logic error that resulted in blank md5 sums and encryption signatures to be saved for non-file entities, eg, directories.
This was non-fatal, but obviously incorrect, in addition to being a waste of cycles and space.

17 years agoFixed two bugs, the first of which is mine:
Landon Fuller [Tue, 28 Nov 2006 07:02:34 +0000 (07:02 +0000)]
Fixed two bugs, the first of which is mine:
    - If a signed digest was incorrectly written for a non-file, do not leak or attempt to validate the digest -- ignore it.
    - If no new data is encrypted, but the output buffer is not empty, there is still data that needs to be written -- don't exit.

17 years agoEverywhere this format string is used, it's passed an integer, not a string.
Landon Fuller [Tue, 28 Nov 2006 04:00:17 +0000 (04:00 +0000)]
Everywhere this format string is used, it's passed an integer, not a string.
Change the format string accordingly. This fixes segfault-on-usage().