]> git.pld-linux.org Git - packages/bacula.git/blob - bacula-dvd_rewind.patch
- patch to fix a crash that may happen when using the DVD storage
[packages/bacula.git] / bacula-dvd_rewind.patch
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.442615 seconds and 3 git commands to generate.