SOURCES: bacula-wx28.patch, bacula-compile.patch - updated to 2.0.0

jareq jareq at pld-linux.org
Fri Jan 5 12:45:40 CET 2007


Author: jareq                        Date: Fri Jan  5 11:45:40 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated to 2.0.0

---- Files affected:
SOURCES:
   bacula-wx28.patch (1.1 -> 1.2) , bacula-compile.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/bacula-wx28.patch
diff -u SOURCES/bacula-wx28.patch:1.1 SOURCES/bacula-wx28.patch:1.2
--- SOURCES/bacula-wx28.patch:1.1	Sun Dec 24 14:39:48 2006
+++ SOURCES/bacula-wx28.patch	Fri Jan  5 12:45:35 2007
@@ -1,9 +1,9 @@
---- bacula-1.38.11/src/wx-console/wxbrestorepanel.cpp.orig	2006-12-24 11:56:01.000000000 +0000
-+++ bacula-1.38.11/src/wx-console/wxbrestorepanel.cpp	2006-12-24 11:56:24.000000000 +0000
-@@ -64,6 +64,7 @@
+--- bacula-2.0.0/src/wx-console/wxbrestorepanel.cpp.orig	2007-01-05 08:51:03.000000000 +0100
++++ bacula-2.0.0/src/wx-console/wxbrestorepanel.cpp	2007-01-05 08:51:38.000000000 +0100
+@@ -80,6 +80,7 @@
+ #include "unmarked.xpm"
  #include "marked.xpm"
  #include "partmarked.xpm"
- 
 +#include <wx/imaglist.h>
  #include <wx/listimpl.cpp>
  

================================================================
Index: SOURCES/bacula-compile.patch
diff -u SOURCES/bacula-compile.patch:1.2 SOURCES/bacula-compile.patch:1.3
--- SOURCES/bacula-compile.patch:1.2	Sun Dec 24 14:34:52 2006
+++ SOURCES/bacula-compile.patch	Fri Jan  5 12:45:35 2007
@@ -1,77 +1,11 @@
---- bacula-1.38.11/src/console/console.c.orig	2006-10-20 08:02:49.000000000 +0000
-+++ bacula-1.38.11/src/console/console.c	2006-10-20 08:03:04.000000000 +0000
-@@ -47,7 +47,7 @@
- #ifdef HAVE_CYGWIN
- int rl_catch_signals;
- #else
+--- bacula-2.0.0/src/console/console.c.orig	2006-11-27 11:02:59.000000000 +0100
++++ bacula-2.0.0/src/console/console.c	2007-01-05 09:57:26.000000000 +0100
+@@ -57,7 +57,7 @@
+ 
+ /* Exported variables */
+ 
 -extern int rl_catch_signals;
 +extern "C" int rl_catch_signals;
- #endif
  
  /* Imported functions */
-@@ -75,7 +75,7 @@
- static BSOCK *UA_sock = NULL;
- static DIRRES *dir;
- static FILE *output = stdout;
--static bool tee = false;                  /* output to output and stdout */
-+static bool bacula_tee = false;                  /* output to output and stdout */
- static bool stop = false;
- static int argc;
- static int numdir;
-@@ -702,7 +702,7 @@
- {
-    int len;
-    if (!stop) {
--      if (output == stdout || tee) {
-+      if (output == stdout || bacula_tee) {
-          sendit(prompt);
-       }
-    }
-@@ -781,14 +781,14 @@
- /* Send output to both termina and specified file */
- static int teecmd(FILE *input, BSOCK *UA_sock)
- {
--   tee = true;
-+   bacula_tee = true;
-    return do_outputcmd(input, UA_sock);
- }
- 
- /* Send output to specified "file" */
- static int outputcmd(FILE *input, BSOCK *UA_sock)
- {
--   tee = false;
-+   bacula_tee = false;
-    return do_outputcmd(input, UA_sock);
- }
- 
-@@ -806,7 +806,7 @@
-       if (output != stdout) {
-          fclose(output);
-          output = stdout;
--         tee = false;
-+         bacula_tee = false;
-       }
-       return 1;
-    }
-@@ -865,7 +865,7 @@
- void sendit(const char *buf)
- {
- #ifdef xHAVE_CONIO
--    if (output == stdout || tee) {
-+    if (output == stdout || bacula_tee) {
-        char *p, *q;
-        /*
-         * Here, we convert every \n into \r\n because the
-@@ -890,10 +890,10 @@
- 
-     fputs(buf, output);
-     fflush(output);
--    if (tee) {
-+    if (bacula_tee) {
-        fputs(buf, stdout);
-     }
--    if (output != stdout || tee) {
-+    if (output != stdout || bacula_tee) {
-        fflush(stdout);
-     }
- #endif
+ int authenticate_director(JCR *jcr, DIRRES *director, CONRES *cons);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/bacula-wx28.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/SOURCES/bacula-compile.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list