]> git.pld-linux.org Git - packages/bacula.git/blame - bacula-dvd_rewind.patch
- patch to fix a crash that may happen when using the DVD storage
[packages/bacula.git] / bacula-dvd_rewind.patch
CommitLineData
5ac6c43c
JK
1--- bacula-5.0.3/src/stored/dev.c.orig 2010-08-05 16:29:51.000000000 +0200
2+++ bacula-5.0.3/src/stored/dev.c 2010-09-21 09:53:25.000000000 +0200
3@@ -832,7 +832,7 @@
4 }
5 break;
6 }
7- } else if (is_file() || is_dvd()) {
8+ } else if (dcr && (is_file() || is_dvd())) {
9 if (lseek(dcr, (boffset_t)0, SEEK_SET) < 0) {
10 berrno be;
11 dev_errno = errno;
This page took 0.030215 seconds and 4 git commands to generate.