General:
Changes to 1.39.0:
-20Oct05
+21Nov05
+- Remove abs() in bfile.c so that it compiles on Solaris.
+ Bug #491.
+20Nov05
- Fix crash in tray-monitor when daemon disconnects. Bug #479.
- Fix bnet-server bug found on OpenBSD. Bug #486
- Fix cancel failure bug. Bug #481
- Fix memory overrun in bfile.c in building OS X resource
fork filename. Bug #489
- Add Pool name to SD status output.
-14Oct05
+14Nov05
- Apply SunOS patch for ACLs submitted by David Duchscher.
- Make sure to set storage before trying to set drive.
- Add bacula_mail_summary.sh to examples directory. It makes
by Adrew J. Millar.
- Make sure when we do a mount to unblock the device even
if the drive could not be opened.
-13Oct05
+13Nov05
- Remove the USE_WIN32STREAMEXTRACTION #defines (always on)
and correct a few minor problems to make it build on Linux.
-10Oct05
+10Nov05
- Remove delete of CVS from all Makefiles
- Fix seg fault when clicking on Add button in wx-console
restore panel. Bug #470.
}
else {
dwDataLen = pContext->liNextHeader-dwDataOffset;
- bContinue = TRUE; /* multiple iterations may be necessary */
+ bContinue = true; /* multiple iterations may be necessary */
}
/* flush */
/* start of header was before this block, so we
* continue with the part in the current block
*/
- dwOffsetTarget = abs (pContext->liNextHeader);
+ dwOffsetTarget = -pContext->liNextHeader;
dwOffsetSource = 0;
- }
- else {
+ } else {
/* start of header is inside of this block */
dwOffsetTarget = 0;
dwOffsetSource = pContext->liNextHeader;
int bopen_rsrc(BFILE *bfd, const char *fname, int flags, mode_t mode)
{
POOLMEM *rsrc_fname;
- size_t fname_len;
- fname_len = strlen(fname);
rsrc_fname = get_pool_memory(PM_FNAME);
- bstrncpy(rsrc_fname, fname, fname_len + 1);
- bstrncpy(rsrc_fname + fname_len, _PATH_RSRCFORKSPEC,
- strlen(_PATH_RSRCFORKSPEC) + 1);
+ pm_strcpy(rsrc_fname, fname);
+ pm_strcat(rsrc_fname, _PATH_RSRCFORKSPEC);
bopen(bfd, rsrc_fname, flags, mode);
free_pool_memory(rsrc_fname);
return bfd->fid;