]> git.sur5r.net Git - bacula/bacula/commit - bacula/src/stored/label.c
- Modify DVD code so that it keeps a state flag that indicates
authorKern Sibbald <kern@sibbald.com>
Thu, 13 Oct 2005 13:55:09 +0000 (13:55 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 13 Oct 2005 13:55:09 +0000 (13:55 +0000)
commit469faac3fcb81d7e29f9766d010edfdceb428aa6
tree025b76901091a22d087349af0195386a3d177119
parentfad9c10997f0fc3f8af2b84998e2cf1e9946ed3c
- Modify DVD code so that it keeps a state flag that indicates
  when the freespace variable is valid. freespace_errno, now has
  either 0 or an errno. There are no negative errnos.
- Create is_freespace_ok() to test state flag. Also, set_freespace_ok()
  and clear_freespace_ok(). Modify code to use them.  This
  simplifies a bit the logic of the freespace code.
- Edit 64bit debug values correctly in dvd.c
- Fix %e variable to check num_parts rather than part.
- Use static buffer instead of static buffers for FI_to_ascii()
  and stream_to_ascii() debug routines in SD. This is to prevent
  possible race conditions between two threads (possibly Phil's
  unmount problem).

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2436 91ce42f0-d328-0410-95d8-f526ca767f89
bacula/kes-1.37
bacula/src/stored/append.c
bacula/src/stored/block.c
bacula/src/stored/bls.c
bacula/src/stored/btape.c
bacula/src/stored/dev.h
bacula/src/stored/dvd.c
bacula/src/stored/label.c
bacula/src/stored/protos.h
bacula/src/stored/record.c
bacula/src/version.h