]> git.sur5r.net Git - bacula/bacula/commitdiff
Update
authorKern Sibbald <kern@sibbald.com>
Fri, 4 Nov 2005 20:00:17 +0000 (20:00 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 4 Nov 2005 20:00:17 +0000 (20:00 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2544 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/findlib/bfile.c
bacula/src/findlib/bfile.h

index b70196a41a288dbb15ca0e896e941c1f9666c6fb..19ffcc39d61e2edc679e70a48fce4c9583a89e45 100644 (file)
@@ -96,9 +96,10 @@ const char *stream_to_ascii(int stream)
 BOOL processWin32BackupAPIBlock (BFILE *bfd, void *pBuffer, size_t dwSize)
 {   
    /* pByte contains the buffer 
-      dwSize the len to be processed. function assumes to be called in successive
-      incremental order over the complete BackupRead stream beginning at pos 0 and
-      ending at the end. */
+      dwSize the len to be processed.  function assumes to be
+      called in successive incremental order over the complete
+      BackupRead stream beginning at pos 0 and ending at the end.
+    */
 
    PROCESS_WIN32_BACKUPAPIBLOCK_CONTEXT* pContext = &(bfd->win32DecompContext);
    BOOL bContinue = FALSE;
@@ -132,8 +133,9 @@ BOOL processWin32BackupAPIBlock (BFILE *bfd, void *pBuffer, size_t dwSize)
          DWORD dwOffsetSource;
             
          if (pContext->liNextHeader < 0) {
-            /* start of header was before this block,
-               so we continue with the part in the current block */                                   
+            /* start of header was before this block, so we
+             * continue with the part in the current block 
+             */
             dwOffsetTarget = abs (pContext->liNextHeader);
             dwOffsetSource = 0;                            
          }
@@ -147,7 +149,9 @@ BOOL processWin32BackupAPIBlock (BFILE *bfd, void *pBuffer, size_t dwSize)
          BOOL bHeaderIsComplete;
 
          if (dwHeaderPartLen <= dwSize-dwOffsetSource) 
-            /* header (or rest of header) is completely available in current block */
+            /* header (or rest of header) is completely available
+               in current block 
+             */
             bHeaderIsComplete = TRUE;                                                        
          else  {
             /* header will continue in next block */
index de60b4f23f68c8f9f2f8d545df3c5978dc51530e..a3ac4e733b0a98bd902df445dff34fc9129a4282 100644 (file)
@@ -6,22 +6,17 @@
  *     Kern Sibbald May MMIII
  */
 /*
-   Copyright (C) 2000-2005 Kern Sibbald
+   Copyright (C) 2003-2005 Kern Sibbald
 
    This program is free software; you can redistribute it and/or
-   modify it under the terms of the GNU General Public License as
-   published by the Free Software Foundation; either version 2 of
-   the License, or (at your option) any later version.
+   modify it under the terms of the GNU General Public License
+   version 2 as amended with additional clauses defined in the
+   file LICENSE in the main source directory.
 
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-   General Public License for more details.
-
-   You should have received a copy of the GNU General Public
-   License along with this program; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-   MA 02111-1307, USA.
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
+   the file LICENSE for additional details.
 
  */