patch for vfs_shadow_copy2.c

David Keegel djk-samba at cyber.com.au
Wed Dec 11 22:50:20 MST 2013


The attached patch is to comments only (in vfs_shadow_copy2.c and smb.h).

It is intended to be applied with patch -p1.
The source files I used were from git branch "master" today.

Andrew Bartlett suggested I send a patch here.

-- 
___________________________________________________________________________
  David Keegel <djk-samba at cyber.com.au>      Cyber IT Solutions Pty. Ltd.   
   http://www.cyber.com.au/~djk/     Linux & Unix Systems Administration 

-------------- next part --------------
diff -Naur samba-master/source3/include/smb.h samba-djk/source3/include/smb.h
--- samba-master/source3/include/smb.h	2013-12-12 04:57:01.000000000 +0000
+++ samba-djk/source3/include/smb.h	2013-12-12 05:31:02.840929364 +0000
@@ -550,7 +550,7 @@
 
 /*
  * Timestamp format used in "previous versions":
- * The is the windows-level format of the @GMT- token.
+ * This is the windows-level format of the @GMT- token.
  * It is a fixed format not to be confused with the
  * format for the POSIX-Level token of the shadow_copy2
  * VFS module that can be configured via the "shadow:format"
diff -Naur samba-master/source3/modules/vfs_shadow_copy2.c samba-djk/source3/modules/vfs_shadow_copy2.c
--- samba-master/source3/modules/vfs_shadow_copy2.c	2013-12-12 05:20:20.000000000 +0000
+++ samba-djk/source3/modules/vfs_shadow_copy2.c	2013-12-12 05:20:07.748923943 +0000
@@ -86,7 +86,7 @@
 }
 
 /**
- * Given a timstamp, build the posix level GTM-tag string
+ * Given a timestamp, build the posix level GMT-tag string
  * based on the configurable format.
  */
 static size_t shadow_copy2_posix_gmt_string(struct vfs_handle_struct *handle,
@@ -136,7 +136,7 @@
 }
 
 /**
- * Given a timstamp, build the string to insert into a path
+ * Given a timestamp, build the string to insert into a path
  * as a path component for creating the local path to the
  * snapshot at the given timestamp of the input path.
  *
@@ -218,7 +218,7 @@
 }
 
 /**
- * Strip a snapshot component from an filename as
+ * Strip a snapshot component from a filename as
  * handed in via the smb layer.
  * Returns the parsed timestamp and the stripped filename.
  */


More information about the samba-technical mailing list