]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix FreeBSD pthreads patch documentation
authorKern Sibbald <kern@sibbald.com>
Tue, 10 Feb 2004 20:21:34 +0000 (20:21 +0000)
committerKern Sibbald <kern@sibbald.com>
Tue, 10 Feb 2004 20:21:34 +0000 (20:21 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1040 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/platforms/freebsd/pthreads-fix.txt
bacula/src/stored/bcopy.c

index 54402f2d7210ac18e2f578796bd3da23d599a83b..05df2591c027459cb453dc62b8d9a7080f34d1d5 100644 (file)
@@ -107,11 +107,11 @@ machine.
 
 2 - Apply this patch.
 
-http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc_r/uthread/uthread_write.c.diff?r1=1.16.2.6&r2=1.16.2.8
+http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc_r/uthread/uthread_write.c?rev=1.16.2.8&content-type=text/x-cvsweb-markup
 
 To apply the patch, follow these instructions as root.  
 
-fetch -o pthread.diff http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc_r/uthread/uthread_write.c.diff?r1=1.16.2.6\&r2=1.16.2.8
+fetch -o pthread.diff http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc_r/uthread/uthread_write.c?rev=1.16.2.8                 
 
 cd /usr/src/lib/libc_r/uthread/
 patch < /path/to/pthread.diff
@@ -126,4 +126,3 @@ TESTING:
 I suggest running tapetest on your patched system and then
 conducting a backup which spans two tapes.  Restore the data
 and compare to the original.  If not identical, please let us know.
-
index 0de1527978335e6382bf02177523fba1ada5367a..94b544bd388bb5ca405ea845fdb678c82408ac97 100644 (file)
@@ -77,43 +77,43 @@ int main (int argc, char *argv[])
 
    while ((ch = getopt(argc, argv, "b:c:d:mn:p:rsu:vV:w:?")) != -1) {
       switch (ch) {
-         case 'b':
-           bsr = parse_bsr(NULL, optarg);
-           break;
+      case 'b':
+        bsr = parse_bsr(NULL, optarg);
+        break;
 
-         case 'c':                    /* specify config file */
-           if (configfile != NULL) {
-              free(configfile);
-           }
-           configfile = bstrdup(optarg);
-           break;
+      case 'c':                    /* specify config file */
+        if (configfile != NULL) {
+           free(configfile);
+        }
+        configfile = bstrdup(optarg);
+        break;
 
-         case 'd':                    /* debug level */
-           debug_level = atoi(optarg);
-           if (debug_level <= 0)
-              debug_level = 1; 
-           break;
+      case 'd':                    /* debug level */
+        debug_level = atoi(optarg);
+        if (debug_level <= 0)
+           debug_level = 1; 
+        break;
 
-         case 'v':
-           verbose++;
-           break;
+      case 'v':
+        verbose++;
+        break;
 
-         case 'i':                    /* input Volume name */
-           iVolumeName = optarg;
-           break;
+      case 'i':                    /* input Volume name */
+        iVolumeName = optarg;
+        break;
 
-         case 'o':                    /* output Volume name */
-           oVolumeName = optarg;
-           break;
+      case 'o':                    /* output Volume name */
+        oVolumeName = optarg;
+        break;
 
 
-         case 'w':
-           wd = optarg;
-           break;
+      case 'w':
+        wd = optarg;
+        break;
 
-         case '?':
-        default:
-           usage();
+      case '?':
+      default:
+        usage();
 
       }  
    }