Re: [Bacula-users] About Bacula's Windows client
2008-04-23 06:02:08
Hi,
23.04.2008 04:17, xuxu wrote:
>
> Hello,
>
> I have been study bacula's source code yesterday. And I find that the
> BackupWrite API would be used wrong.
> In msdn, this API's describe says that this function allocates memory
> for the IpContext data structure, and then sets the variable to point to
> that strucure. To release the memory used by the data structure, call
> BackupWrite with the bAbort paramter set to TRUE when the restore
> operation is complete.
> I find that bacula seems just to use bwrite() function to write and not
> call this API again when restore finished.
> I think that just adding this API with setting bAort and IpContext
> paramters when the restore operation is complete will solve this problem.
That is valuable information to add to your bug report. Or, if you can
do that, prepare a patch for the FD and post that to the -devel list.
Arno
> Best regards
> xuxu
>
>
> 2008-04-23
> xuxu
>
--
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|