git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2439
91ce42f0-d328-0410-95d8-
f526ca767f89
Changes to 1.37.41:
13Oct05
+- Fix error conditions in bpipe.c DVD routine (terminate buffer).
- Use a bigger buffer 32K as suggested by Arno in bpipe.c.
- Increase dvd mount timeout with patch from Arno.
- Modify DVD code so that it keeps a state flag that indicates
sm_check(__FILE__, __LINE__, false);
tmp[0] = 0;
while (1) {
+ buf[0] = 0;
fgets(buf, bufsize, bpipe->rfd);
+ buf[bufsize] = 0;
pm_strcat(tmp, buf);
if (feof(bpipe->rfd)) {
stat1 = 0;