[Pkg-privacy-commits] [libgsecuredelete] 36/168: Fixed some errors on comments and documentation strings.

Ulrike Uhlig u-guest at moszumanska.debian.org
Thu Jul 7 20:06:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to branch master
in repository libgsecuredelete.

commit 4029dabb40fffdc8c07216f66a2c677bfd689dcb
Author: Anonymous <unknown>
Date:   Wed Oct 7 22:30:27 2009 +0200

    Fixed some errors on comments and documentation strings.
---
 gsecuredelete/async-operation.vala        | 9 +++++----
 gsecuredelete/fill-operation.vala         | 2 +-
 gsecuredelete/securedelete-operation.vala | 4 ++--
 gsecuredelete/swap-operation.vala         | 2 +-
 gsecuredelete/utils.vala                  | 2 +-
 5 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/gsecuredelete/async-operation.vala b/gsecuredelete/async-operation.vala
index b77ce02..736b9c4 100644
--- a/gsecuredelete/async-operation.vala
+++ b/gsecuredelete/async-operation.vala
@@ -36,7 +36,7 @@ namespace Gsd
    * An asynchronous process spawner, with support for progression and success
    * report.
    * This is a base class designed to be subclassed by actual spawners, with
-   * less efforts as possible.
+   * as less efforts as possible.
    * 
    * To subclass this class, the only thing you need to implement is the
    * argument builder, that gives the command to be spawned, and its arguments.
@@ -45,8 +45,9 @@ namespace Gsd
    * environment to your command.
    * 
    * <warning>
-   *   You need a GLib's MainLoop for the watching process to work for the
-   *   asynchronous method as it use a timeout function to watch the child.
+   *   As it use a timeout function to watch the child, you need a GLib's
+   *   MainLoop for the watching process to work for the
+   *   asynchronous method.
    *   
    *   Yes, a thread might be a good thing, but have some limitations too:
    *   <list>
@@ -176,7 +177,7 @@ namespace Gsd
     }
     
     /* returns the value at which the progress is full. When the progress reach
-     * this value, it will be considered to be at 100% (even if it has no impact
+     * this value, it will be considered to be at 100% (This has no impact
      * other than reporting the current progress)
      */
     protected virtual uint get_max_progress ()
diff --git a/gsecuredelete/fill-operation.vala b/gsecuredelete/fill-operation.vala
index dbc929d..12d23e8 100644
--- a/gsecuredelete/fill-operation.vala
+++ b/gsecuredelete/fill-operation.vala
@@ -106,7 +106,7 @@ namespace Gsd
       this.directory = null;
     }
     
-    /** run_sync:
+    /** run:
      * @directory: the directory to fill. It is exactly the same as setting
      *             the FillOperation:directory property, just a convenience
      *             possibility.
diff --git a/gsecuredelete/securedelete-operation.vala b/gsecuredelete/securedelete-operation.vala
index e4940a7..efccf87 100644
--- a/gsecuredelete/securedelete-operation.vala
+++ b/gsecuredelete/securedelete-operation.vala
@@ -58,7 +58,7 @@ namespace Gsd
     }
     
     /* returns the argument to pass to SecureDelete tools depending on the
-     * security mode. %null wan be returned, meaning no argument should be
+     * security mode. %null can be returned, meaning no argument should be
      * added */
     protected unowned string? get_argument_for_mode (Mode mode)
     {
@@ -110,7 +110,7 @@ namespace Gsd
       return progress;
     }
     
-    /** run_sync:
+    /** run:
      * Runs a SecureDelete operator asynchronously.
      * 
      * Returns: whether operation started successfully.
diff --git a/gsecuredelete/swap-operation.vala b/gsecuredelete/swap-operation.vala
index 21316ba..40aa1bc 100644
--- a/gsecuredelete/swap-operation.vala
+++ b/gsecuredelete/swap-operation.vala
@@ -109,7 +109,7 @@ namespace Gsd
       this.device = null;
     }
     
-    /** run_sync:
+    /** run:
      * @device: the swap device to wipe. It is exactly the same as setting the
      *          the SwapOperation:device property, just a convenience shortcut.
      * @watch_interval: See AsyncOperation.run()
diff --git a/gsecuredelete/utils.vala b/gsecuredelete/utils.vala
index 01fc4c4..bccabf8 100644
--- a/gsecuredelete/utils.vala
+++ b/gsecuredelete/utils.vala
@@ -34,7 +34,7 @@ namespace Gsd
      *         errors.
      * 
      * Gets whether a file descriptor is ready to be read or not. Ready means that
-     * rading data from it would not be blocking, as there is data to be read.
+     * reading data from it would not be blocking, as there is data to be read.
      * 
      * Returns: %TRUE if the file is read, %FALSE otherwise.
      */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libgsecuredelete.git



More information about the Pkg-privacy-commits mailing list